Skip to content

Commit

Permalink
feat(java): add LTS versioning scheme and releaser (#810)
Browse files Browse the repository at this point in the history
* refactor(java): pull common Java release PR logic into shared base class

* refactor: remove duplicated method

* chore: make method private

* feat(java): add LTS version parsing/bumping logic

* feat(java): add LTS Java version bumping releaser

* test: add release tag test for JavaLTS

* test: add test to ensure we only create a release PR if there are releasable changes

* chore: fix lint

* test: fix test helpers

* fix: make LTS java releaser available to factory

* fix: use stable branch name for Java LTS

* test: fix CLI test

* refactor: YoshiJava is the YoshiBase

* chore: fix lint

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
chingor13 and bcoe committed Mar 9, 2021
1 parent 7b32d85 commit 89e5bed
Show file tree
Hide file tree
Showing 13 changed files with 3,321 additions and 258 deletions.
8 changes: 4 additions & 4 deletions __snapshots__/java-bom.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ exports['JavaBom run creates a release PR: options'] = `
upstreamOwner: googleapis
upstreamRepo: java-cloud-bom
title: chore: release 0.124.0
branch: release-v0.124.0
branch: release-please/branches/master
description: :robot: I have created a release \\*beep\\* \\*boop\\*
---
## [0.124.0](https://www.github.com/googleapis/java-cloud-bom/compare/0.123.4...v0.124.0) (1983-10-10)
Expand Down Expand Up @@ -1607,7 +1607,7 @@ exports['JavaBom run creates a snapshot PR if an explicit release is requested,
upstreamOwner: googleapis
upstreamRepo: java-cloud-bom
title: chore: release 0.123.5-SNAPSHOT
branch: release-v0.123.5-SNAPSHOT
branch: release-please/branches/master
description: :robot: I have created a release \\*beep\\* \\*boop\\*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
Expand Down Expand Up @@ -2388,7 +2388,7 @@ exports['JavaBom run creates a snapshot PR: options'] = `
upstreamOwner: googleapis
upstreamRepo: java-cloud-bom
title: chore: release 0.123.5-SNAPSHOT
branch: release-v0.123.5-SNAPSHOT
branch: release-please/branches/master
description: :robot: I have created a release \\*beep\\* \\*boop\\*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
Expand Down Expand Up @@ -3228,7 +3228,7 @@ exports['JavaBom run merges conventional commit messages: options'] = `
upstreamOwner: googleapis
upstreamRepo: java-cloud-bom
title: chore: release 0.124.0
branch: release-v0.124.0
branch: release-please/branches/master
description: :robot: I have created a release \\*beep\\* \\*boop\\*
---
## [0.124.0](https://www.github.com/googleapis/java-cloud-bom/compare/0.123.4...v0.124.0) (1983-10-10)
Expand Down

0 comments on commit 89e5bed

Please sign in to comment.