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

🆙 Add a workflow to auto increment the version #222

Open
1 task done
keithrfung opened this issue Oct 21, 2021 · 0 comments
Open
1 task done

🆙 Add a workflow to auto increment the version #222

keithrfung opened this issue Oct 21, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issues for the Hacktoberfest help wanted Extra attention is needed

Comments

@keithrfung
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Suggestion

The idea is to have a workflow that will auto increment the package to the semantic version that is on the Milestone on the release workflow.

https://github.com/microsoft/electionguard-cpp/blob/main/.github/workflows/release.yml

So for example if the milestone is named "1.1.0 : New Release", the workflow would create a commit incrementing the package to 1.1.0.

These are the two sections that should be investigated:
https://github.com/microsoft/electionguard-cpp/blob/99788bc9fb76ee2293e9b131965b91b85ba6fee3/bindings/netstandard/ElectionGuard/ElectionGuard.Encryption/ElectionGuard.Encryption.csproj#L10-L20

https://github.com/microsoft/electionguard-cpp/blob/da452f68f10f18f3a04ff932821f789bb5c00bb1/CMakeLists.txt#L8-L10

Possible Implementation

The easiest way is probably a GitHub action. A version file can be used if this simplifies the workflow. A single source of truth is ideal.

Anything else?

No response

@keithrfung keithrfung added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed hacktoberfest Issues for the Hacktoberfest labels Oct 21, 2021
@keithrfung keithrfung changed the title ✨ Add a workflow to auto increment the version 🆙 Add a workflow to auto increment the version Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issues for the Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant