Skip to content

Conversation

@suztomo
Copy link
Member

@suztomo suztomo commented Dec 3, 2025

partial_release.py to take "bump-snapshot-version" as argument. These script created a change in #11804.

  • apply_current_version.sh is renamed to apply_version.sh and it now takes the path to versions.txt file and "current|released" option.

To create release versions of the modules

~/google-cloud-java$ python3 .github/release/partial_release.py bump-released-version   --artifact-ids=google-cloud-java,google-cloud-asset   --version-type=patch

~/google-cloud-java$ cd java-asset
~/google-cloud-java/java-asset$ ../generation/apply_versions.sh ../versions.txt released

To create SNAPSHOT versions for the released modules

~/google-cloud-java$ python3 .github/release/partial_release.py bump-snapshot-version       --artifact-ids=google-cloud-java,google-cloud-asset
~/google-cloud-java$ ./generation/apply_versions.sh ./versions.txt current

@suztomo suztomo changed the title Apply current versions chore: partial release script Dec 3, 2025
@suztomo suztomo marked this pull request as ready for review December 3, 2025 21:29
@suztomo suztomo requested a review from a team as a code owner December 3, 2025 21:29
Copy link
Member

@meltsufin meltsufin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add some tests?

@suztomo
Copy link
Member Author

suztomo commented Dec 5, 2025

@meltsufin Added a unit test.

@suztomo suztomo enabled auto-merge (squash) December 5, 2025 20:05
@suztomo suztomo requested a review from meltsufin December 5, 2025 20:08
@suztomo suztomo merged commit 05df6bd into googleapis:main Dec 5, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants