Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: support stable release branch names #720

Merged
merged 25 commits into from
Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0189031
feat: add BranchName parser classes
chingor13 Jan 26, 2021
e877066
add toString/of helpers to branch name
chingor13 Jan 27, 2021
7e16262
fix name tests
chingor13 Jan 27, 2021
a7a3137
Merge branch 'master' into stable-branch
bcoe Jan 27, 2021
9c0a5b4
use regex capture group names
chingor13 Jan 27, 2021
df54ccb
refactor!: move release-notes helper to its own separate module"
chingor13 Jan 27, 2021
8bce7e5
feat: add findMergedPullRequests to GitHub class
chingor13 Jan 27, 2021
ce7eb3b
refactor: move release building into individual releasers
chingor13 Jan 28, 2021
2633486
cleanup commented out code
chingor13 Jan 28, 2021
e7fcb16
feat: java-yoshi uses stable branch name
chingor13 Jan 28, 2021
8ccc6c8
fix: java includes target branch in PR title
chingor13 Jan 28, 2021
1acc0ab
test: add more edge case tests
chingor13 Jan 28, 2021
5323632
chore: fix lint
chingor13 Jan 28, 2021
17dfdec
remove unused static tagSeparator()
chingor13 Jan 28, 2021
beb85e1
Merge branch 'master' into stable-branch
bcoe Feb 1, 2021
19327a0
refactor: findMergedPullRequests uses the REST API. findMergedRelease…
chingor13 Feb 1, 2021
45598ab
refactor: move version parsing logic out of findMergedPullRequest
chingor13 Feb 1, 2021
b7d1614
refactor: ReleasePR.findMergedRelease() uses a filter to leverage aut…
chingor13 Feb 2, 2021
08aa4bd
MergedPullRequestFilter interface => type
chingor13 Feb 2, 2021
7090df1
fix: add test for nodejs monorepo tags overriding package name
chingor13 Feb 2, 2021
cc1a239
Merge branch 'master' into stable-branch
bcoe Feb 2, 2021
723c038
Merge branch 'master' into stable-branch
chingor13 Feb 2, 2021
662b34e
Merge branch 'master' into stable-branch
chingor13 Feb 2, 2021
b1a2035
fix: release tagging should only find pending release PRs
chingor13 Feb 3, 2021
3d76bae
refactor: use Array#every
chingor13 Feb 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
101 changes: 0 additions & 101 deletions __snapshots__/github-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,107 +11,6 @@ exports['GitHubRelease createRelease attempts to guess package name for release
]
}

exports['GitHubRelease extractLatestReleaseNotes handles CHANGELOG with old and new format entries 1'] = `


### Bug Fixes

* **deps:** update dependency google-auth-library to v4 ([#79](https://www.github.com/googleapis/nodejs-rcloadenv/issues/79)) ([1386b78](https://www.github.com/googleapis/nodejs-rcloadenv/commit/1386b78))


### Build System

* upgrade engines field to >=8.10.0 ([#71](https://www.github.com/googleapis/nodejs-rcloadenv/issues/71)) ([542f935](https://www.github.com/googleapis/nodejs-rcloadenv/commit/542f935))


### Miscellaneous Chores

* **deps:** update dependency gts to v1 ([#68](https://www.github.com/googleapis/nodejs-rcloadenv/issues/68)) ([972b473](https://www.github.com/googleapis/nodejs-rcloadenv/commit/972b473))


### BREAKING CHANGES

* **deps:** this will ship async/await with the generated code.
* upgrade engines field to >=8.10.0 (#71)

`

exports['GitHubRelease extractLatestReleaseNotes handles CHANGELOG with old format entries 1'] = `

03-22-2019 10:34 PDT

### New Features
- feat: add additional entity types ([#220](https://github.com/googleapis/nodejs-language/pull/220))

### Internal / Testing Changes
- chore: publish to npm using wombat ([#218](https://github.com/googleapis/nodejs-language/pull/218))
- build: use per-repo npm publish token ([#216](https://github.com/googleapis/nodejs-language/pull/216))

`

exports['GitHubRelease extractLatestReleaseNotes handles CHANGELOG with new format entries 1'] = `


### Bug Fixes

* candidate issue should only be updated every 15 minutes. ([#70](https://www.github.com/googleapis/release-please/issues/70)) ([edcd1f7](https://www.github.com/googleapis/release-please/commit/edcd1f7))


### Features

* add GitHub action for generating candidate issue ([#69](https://www.github.com/googleapis/release-please/issues/69)) ([6373aed](https://www.github.com/googleapis/release-please/commit/6373aed))
* checkbox based releases ([#77](https://www.github.com/googleapis/release-please/issues/77)) ([1e4193c](https://www.github.com/googleapis/release-please/commit/1e4193c))

`

exports['GitHubRelease extractLatestReleaseNotes extracts appropriate release notes when prior release is patch 1'] = `


### ⚠ BREAKING CHANGES

* temp directory now defaults to setting for report directory

### Features

* default temp directory to report directory ([#102](https://www.github.com/bcoe/c8/issues/102)) ([8602f4a](https://www.github.com/bcoe/c8/commit/8602f4a))
* load .nycrc/.nycrc.json to simplify migration ([#100](https://www.github.com/bcoe/c8/issues/100)) ([bd7484f](https://www.github.com/bcoe/c8/commit/bd7484f))

`

exports['GitHubRelease extractLatestReleaseNotes php-yoshi extracts appropriate release notes, when multiple packages updated 1'] = `

<details><summary>google/cloud-bigquerydatatransfer 0.11.1</summary>



### Bug Fixes

* Fix BigQueryDataTransfer smoke test ([#2046](https://www.github.com/googleapis/google-cloud-php/issues/2046)) ([98c7c9e](https://www.github.com/googleapis/google-cloud-php/commit/98c7c9e))

</details>

<details><summary>google/cloud-dlp 0.20.0</summary>



### Features

* Add support for avro ([#2050](https://www.github.com/googleapis/google-cloud-php/issues/2050)) ([4137f3d](https://www.github.com/googleapis/google-cloud-php/commit/4137f3d))

</details>

<details><summary>google/cloud-kms 1.4.0</summary>



### Features

* Update KMS client. ([#2045](https://www.github.com/googleapis/google-cloud-php/issues/2045)) ([c96da32](https://www.github.com/googleapis/google-cloud-php/commit/c96da32))

</details>

`

exports['GitHubRelease createRelease creates and labels release on GitHub 1'] = {
"tag_name": "v1.0.3",
"body": "\n* entry",
Expand Down
124 changes: 124 additions & 0 deletions __snapshots__/github.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions __snapshots__/java-yoshi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 100 additions & 0 deletions __snapshots__/release-notes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
exports['extractReleaseNotes handles CHANGELOG with old and new format entries 1'] = `


### Bug Fixes

* **deps:** update dependency google-auth-library to v4 ([#79](https://www.github.com/googleapis/nodejs-rcloadenv/issues/79)) ([1386b78](https://www.github.com/googleapis/nodejs-rcloadenv/commit/1386b78))


### Build System

* upgrade engines field to >=8.10.0 ([#71](https://www.github.com/googleapis/nodejs-rcloadenv/issues/71)) ([542f935](https://www.github.com/googleapis/nodejs-rcloadenv/commit/542f935))


### Miscellaneous Chores

* **deps:** update dependency gts to v1 ([#68](https://www.github.com/googleapis/nodejs-rcloadenv/issues/68)) ([972b473](https://www.github.com/googleapis/nodejs-rcloadenv/commit/972b473))


### BREAKING CHANGES

* **deps:** this will ship async/await with the generated code.
* upgrade engines field to >=8.10.0 (#71)

`

exports['extractReleaseNotes handles CHANGELOG with old format entries 1'] = `

03-22-2019 10:34 PDT

### New Features
- feat: add additional entity types ([#220](https://github.com/googleapis/nodejs-language/pull/220))

### Internal / Testing Changes
- chore: publish to npm using wombat ([#218](https://github.com/googleapis/nodejs-language/pull/218))
- build: use per-repo npm publish token ([#216](https://github.com/googleapis/nodejs-language/pull/216))

`

exports['extractReleaseNotes handles CHANGELOG with new format entries 1'] = `


### Bug Fixes

* candidate issue should only be updated every 15 minutes. ([#70](https://www.github.com/googleapis/release-please/issues/70)) ([edcd1f7](https://www.github.com/googleapis/release-please/commit/edcd1f7))


### Features

* add GitHub action for generating candidate issue ([#69](https://www.github.com/googleapis/release-please/issues/69)) ([6373aed](https://www.github.com/googleapis/release-please/commit/6373aed))
* checkbox based releases ([#77](https://www.github.com/googleapis/release-please/issues/77)) ([1e4193c](https://www.github.com/googleapis/release-please/commit/1e4193c))

`

exports['extractReleaseNotes extracts appropriate release notes when prior release is patch 1'] = `


### ⚠ BREAKING CHANGES

* temp directory now defaults to setting for report directory

### Features

* default temp directory to report directory ([#102](https://www.github.com/bcoe/c8/issues/102)) ([8602f4a](https://www.github.com/bcoe/c8/commit/8602f4a))
* load .nycrc/.nycrc.json to simplify migration ([#100](https://www.github.com/bcoe/c8/issues/100)) ([bd7484f](https://www.github.com/bcoe/c8/commit/bd7484f))

`

exports['extractReleaseNotes php-yoshi extracts appropriate release notes, when multiple packages updated 1'] = `

<details><summary>google/cloud-bigquerydatatransfer 0.11.1</summary>



### Bug Fixes

* Fix BigQueryDataTransfer smoke test ([#2046](https://www.github.com/googleapis/google-cloud-php/issues/2046)) ([98c7c9e](https://www.github.com/googleapis/google-cloud-php/commit/98c7c9e))

</details>

<details><summary>google/cloud-dlp 0.20.0</summary>



### Features

* Add support for avro ([#2050](https://www.github.com/googleapis/google-cloud-php/issues/2050)) ([4137f3d](https://www.github.com/googleapis/google-cloud-php/commit/4137f3d))

</details>

<details><summary>google/cloud-kms 1.4.0</summary>



### Features

* Update KMS client. ([#2045](https://www.github.com/googleapis/google-cloud-php/issues/2045)) ([c96da32](https://www.github.com/googleapis/google-cloud-php/commit/c96da32))

</details>

`