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

Automated version bumper #245

Open
rugulous opened this issue Feb 6, 2023 · 2 comments
Open

Automated version bumper #245

rugulous opened this issue Feb 6, 2023 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@rugulous
Copy link
Member

rugulous commented Feb 6, 2023

We could do with a nicer way of version numbers - currently we have to update our local version and remember to also update the sample version. When the update goes live we also have to remember to update the config files there.

I'm thinking we could automate this as long as we follow a certain set of rules. Given a version number like 1.0.1:

  • Each pull request to main increases the furthest-right number by one - 1.0.2, 1.0.3, and so on
  • When a Milestone is completed (or when we do a new release), the version number is set to the release number - release 3.0.3 would update 1.0.1 -> 3.0.3

We still need to factor dev into this, however. My thinking is that each merge to dev takes the current version of main and bumps the furthest-right number, finishing by appending a b to the end. If main is 1.0.1 then a new PR to dev becomes 1.0.2b, main is 3.1.7 then dev is 3.1.8b, etc

@rugulous rugulous added enhancement New feature or request question Further information is requested labels Feb 6, 2023
@rugulous
Copy link
Member Author

rugulous commented Feb 6, 2023

Release may be easier, there are hooks for both but publishing a release feels more absolute than closing a milestone!

@rugulous
Copy link
Member Author

rugulous commented Feb 8, 2023

Could hook into the agent created in #255 to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
Status: To do
Development

No branches or pull requests

1 participant