Skip to content

Release Version Auto-Bump #948

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

Merged
merged 5 commits into from
Jan 18, 2025

Conversation

Rodhlann
Copy link
Contributor

@Rodhlann Rodhlann commented Dec 17, 2024

Add config for auto-incrementing project version on release, following suggested https://github.com/qcastel/github-actions-maven-release setup

PR fixes #594

Changes:

  • Updated release action to include version bump
    • NOTE: the default configuration for this workflow is a patch version update, the workflow expects us to set the version type explicitly in the job, so we may want to discuss / iterate on the process here. We may want to introduce additional flows to account for major / minor / patch respectively
    • NOTE: I believe we need to create a new SSH_PRIVATE_KEY secret for our GitHub Actions workflows for this to work
  • Update pom to include Maven Release Plugin setup and config
  • Some minor formatting updates in pom.xml

@TanyaStere42
Copy link
Member

@vkirkl for visibility

Copy link
Contributor

@holmbergius holmbergius left a comment

Choose a reason for hiding this comment

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

Looks good to me. Asking @tsubramanian to also review as our DevOps/MLOps wizard.

@@ -19,6 +19,15 @@ jobs:
distribution: 'zulu'
java-version: 8

- name: Relase
Copy link
Member

Choose a reason for hiding this comment

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

is this a typo? likely doesnt matter but thought i should mention. @Rodhlann

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It definitely is! Thanks for the heads up

@tsubramanian
Copy link
Contributor

tsubramanian commented Jan 15, 2025 via email

@Rodhlann
Copy link
Contributor Author

Are we talking about the Zulu distribution of Java?

It looks like this is the distro the job is already using, and I'd missed that! Just updated, I believe it should be correct now

Copy link
Contributor

@tsubramanian tsubramanian left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@holmbergius holmbergius merged commit fbac158 into WildMeOrg:main Jan 18, 2025
@TanyaStere42
Copy link
Member

testing through live release of the PR, but opening issue until testing confirmed (determined in meeting)

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.

automatically update pom Wildbook version number with github release number
5 participants