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

自动发布版本 #94

Open
wants to merge 4 commits into
base: test
Choose a base branch
from
Open

Conversation

huzhengen
Copy link
Contributor

@huzhengen huzhengen commented Jan 21, 2025

发布流程

  1. 使用 npm run release --release-as=x.x.x 发布新版本
  • 会更新 package.json 中的 version 字段

  • 会打上版本 tag

  • 会使用 .changelog-template.hbs 模板生成 CHANGELOG.md

  • 会自动 push 到 test 分支

  1. 然后触发 GitHub Actions 自动 release

Copy link

vercel bot commented Jan 21, 2025

@huzhengen is attempting to deploy a commit to the OpenBuild Team on Vercel.

A member of the Team first needs to authorize it.

@ourai ourai self-requested a review January 21, 2025 07:41
@ourai ourai self-assigned this Jan 21, 2025
@ourai ourai added this to the 2025W04 milestone Jan 21, 2025
@ourai ourai linked an issue Jan 21, 2025 that may be closed by this pull request
@Debbl
Copy link
Contributor

Debbl commented Jan 21, 2025

这个项目好像没有在维护了 https://github.com/conventional-changelog/standard-version

感觉可以试试这个 https://github.com/changesets/changesets

@huzhengen
Copy link
Contributor Author

这个项目好像没有在维护了 https://github.com/conventional-changelog/standard-version

感觉可以试试这个 https://github.com/changesets/changesets

我试了下这个,他不能根据 commits 自动生成 CHANGELOG.md。

changesets/changesets#727

@zhang-wenchao
Copy link
Collaborator

https://github.com/softprops/action-gh-release

我用的这个,不过是基于 github action 的。供参考。

@huzhengen
Copy link
Contributor Author

使用 https://github.com/absolute-version/commit-and-tag-version 这个库,替换了之前那个已经不维护的库 https://github.com/conventional-changelog/standard-version

@ourai ourai removed this from the 2025W04 milestone Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

自动发布版本
4 participants