Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

🆙 Add a workflow to auto increment the version

オープン
#222 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue hacktoberfest help wanted
主要言語
C++
スター
26
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

### Is there an existing issue for this?

- [X] 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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。