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

Implement version check in GHA #1067

Open
sebastian-peter opened this issue Dec 10, 2024 · 0 comments
Open

Implement version check in GHA #1067

sebastian-peter opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
ci Related to continuous integration

Comments

@sebastian-peter
Copy link
Member

It should work similarly to how it was done with Jenkins.

Normally, dev version should be higher than the one in main. After merging dev, versions in main and dev should be the same (shortly). When merging back changes of the release from main to dev, the snapshot version should increase again.

main | dev
0.5.0 | 0.6.0 <- Before release
0.6.0 | 0.6.0 <- After release PR has been merged
0.6.0 | 0.7.0 <- After changes from main have been merged back to dev

This means:

  • For PRs merging onto main (from dev), versions in dev and main should be equal
  • For PRS merging onto dev (from feature branches), version should stay the same
  • When the pipeline runs for dev or main itself, no version check should occur.
@sebastian-peter sebastian-peter added the ci Related to continuous integration label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to continuous integration
Projects
None yet
Development

No branches or pull requests

2 participants