-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Automate Git Tag Creation with GitHub Actions #899
Comments
背景在开发 OpenIM 项目时,我们面临着手动打标签的挑战。我们遵循的手动步骤如下: git tag -a v3.2.0-beta.0 -s -m "release(v3.2.0): new feat cluster"
git push upstream v3.2.0-beta.0 此过程存在几个问题:
提议的解决方案:打标签的 GitHub Action为了解决这些问题,我们建议实现一个 GitHub action,自动化打标签的过程,同时遵循我们的工作流要求。 功能:
工作流:
好处:
下一步:
|
Link #639 |
调研:目前市场上并没有针对 gh 做的 actions,可以针对性 gh 工具做一个高度可扩展的 actions,其中以模块化的手段去管理,我认为是一个非常好的事情。 |
Research: At present, there are no actions for gh in the market. It is a very good thing to make highly scalable actions for gh tools and manage them in a modular way. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
/restart |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Background
While working on the OpenIM project, we've faced challenges with the current manual process of tagging our versions. The manual steps we follow are:
tag -a v3.2.0-beta.0 -s -m "release(v3.2.0): new feat cluster" git push upstream v3.2.0-beta.0
This process has several shortcomings:
CONTRIBUTING.md
guide, direct pushing is not allowed, making this process cumbersome.Proposed Solution: GitHub Action for Tagging
To address these issues, we propose implementing a GitHub action that automates the process of tagging while adhering to our workflow requirements.
Features:
release-v*.*
and put it under branch protection./content git-tag-name
, the bot will automatically tag with the namegit-tag-name
.Workflow:
release-v*.*
branch and enables branch protection.Benefits:
Next Steps:
The text was updated successfully, but these errors were encountered: