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

Auto-increment version number on PR merge into develop #541

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

Mark2000
Copy link
Contributor

@Mark2000 Mark2000 commented Dec 13, 2023

  • Tickets addressed: bsk-540
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Automatically bumps the version number on successful PR merge into develop (e.g. 2.2.4->2.2.5)

Workflow permissions need to be set to read and write for this to work!

Verification

Changes tested in this repo: https://github.com/Mark2000/bump_test

Documentation

N/A

Future work

None.

@Mark2000 Mark2000 force-pushed the feature/540-beta-bumper branch from e769433 to 90ade05 Compare December 13, 2023 20:28
@Mark2000 Mark2000 linked an issue Jan 22, 2024 that may be closed by this pull request
@Mark2000 Mark2000 force-pushed the feature/540-beta-bumper branch 2 times, most recently from 475db4d to a64d478 Compare January 23, 2024 18:37
@Mark2000 Mark2000 requested a review from schaubh January 30, 2024 18:37
@Mark2000
Copy link
Contributor Author

Somebody with permissions needs to go to the repository’s Settings > Actions > General > Workflow Permissions and select “Read and write permissions” before we merge.

@Mark2000
Copy link
Contributor Author

Should we start incrementing from the current release number? That is, set bskVersion.txt to 2.2.1 in this PR so that when the PR is merged, develop is set to 2.2.2?

@Mark2000 Mark2000 force-pushed the feature/540-beta-bumper branch 2 times, most recently from 6b4096d to 87fecb1 Compare January 31, 2024 19:09
@Mark2000 Mark2000 force-pushed the feature/540-beta-bumper branch from 87fecb1 to 3e8c5d5 Compare January 31, 2024 19:12
@Mark2000 Mark2000 merged commit 2c7691c into develop Jan 31, 2024
2 checks passed
@Mark2000 Mark2000 deleted the feature/540-beta-bumper branch January 31, 2024 19:44
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.

Increment beta version number on PR
2 participants