release-please
Advanced tools
Comparing version 6.8.1 to 6.8.2
@@ -44,3 +44,3 @@ import { Octokit } from '@octokit/rest'; | ||
} | ||
interface GitHubPR { | ||
export interface GitHubPR { | ||
branch: string; | ||
@@ -47,0 +47,0 @@ fork: boolean; |
@@ -37,3 +37,3 @@ import { ConventionalCommits } from './conventional-commits'; | ||
} | ||
interface OpenPROptions { | ||
export interface OpenPROptions { | ||
sha: string; | ||
@@ -40,0 +40,0 @@ changelogEntry: string; |
@@ -166,2 +166,6 @@ "use strict"; | ||
const includePackageName = options.includePackageName; | ||
// Do not include npm style @org/ prefixes in the branch name: | ||
const branchPrefix = this.packageName.match(/^@[\w-]+\//) | ||
? this.packageName.split('/')[1] | ||
: this.packageName; | ||
const title = includePackageName | ||
@@ -173,3 +177,3 @@ ? `chore: release ${this.packageName} ${version}` | ||
branch: includePackageName | ||
? `release-${this.packageName}-v${version}` | ||
? `release-${branchPrefix}-v${version}` | ||
: `release-v${version}`, | ||
@@ -176,0 +180,0 @@ version, |
@@ -7,2 +7,9 @@ # Changelog | ||
### [6.8.2](https://www.github.com/googleapis/release-please/compare/v6.8.1...v6.8.2) (2020-11-12) | ||
### Bug Fixes | ||
* **nodejs:** do not include org in branch name ([#623](https://www.github.com/googleapis/release-please/issues/623)) ([fde5db4](https://www.github.com/googleapis/release-please/commit/fde5db4b71a7421d546dabea5969610e84d65e9c)) | ||
### [6.8.1](https://www.github.com/googleapis/release-please/compare/v6.8.0...v6.8.1) (2020-11-10) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "release-please", | ||
"version": "6.8.1", | ||
"version": "6.8.2", | ||
"description": "generate release PRs based on the conventionalcommits.org spec", | ||
@@ -5,0 +5,0 @@ "main": "./build/src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
272973
4923