Skip to content

feat(ci): automate SNAPSHOT version updates in develop post-release#17

Draft
shawnchan wants to merge 1 commit intodevelopfrom
feature/next-snapshot-version-update
Draft

feat(ci): automate SNAPSHOT version updates in develop post-release#17
shawnchan wants to merge 1 commit intodevelopfrom
feature/next-snapshot-version-update

Conversation

@shawnchan
Copy link
Copy Markdown
Contributor

TODO

  • restrict Tag Creation to GitHub Actions Only

Sensitive Credential Checks

  • As the author of these changes, I have checked for any sensitive credentials prior to this review being requested.
  • As a reviewer of these changes, I have checked for any sensitive credentials prior to approving this merge.

Motivation and Context

  • Automatically updates the pom.xml version in the develop branch to the next -SNAPSHOT version after a release (e.g., 1.2.01.2.1-SNAPSHOT).
  • Developers: No longer need to manually bump versions after releases.
  • CI/CD: Ensures develop always reflects the next planned version.

Description

  • Add GitHub Action to bump version to next SNAPSHOT post-release
  • Trigger on new version tags (v*)
  • Update POM version and push to develop branch

How Has This Been Tested?

  • Manually tested by simulating a tag push:
    git tag v1.2.0-test && git push origin v1.2.0-test
  • Verified:
  • develop branch’s pom.xml updated to 1.2.1-SNAPSHOT.
  • Commit is signed and tagged properly.

Screenshots (if appropriate):

Checklist:

  • The base branch is set to develop
  • It contains only changes required by issue (does not contain other PR)

- Add GitHub Action to bump version to next SNAPSHOT post-release
- Trigger on new version tags (v*)
- Update POM version and push to develop branch
@shawnchan shawnchan marked this pull request as draft April 7, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant