Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp
🆙 Add a workflow to auto increment the version
- 主要语言
- 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_
贡献指南
调研方向
从 .github/workflows/release.yml 开始,然后检查 bindings/netstandard/ElectionGuard/ElectionGuard.Encryption/ElectionGuard.Encryption.csproj 和 CMakeLists.txt 中的版本部分。确定工作流如何读取类似“1.1.0 : New Release”的里程碑,并更新两个软件包版本位置。完成标准是 release workflow 创建一个提交,其中一致地应用了里程碑的语义化版本。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cmake, cpp, csharp, github-actions
- 领域
- build-system, ci-cd, release
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100