-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,11 +71,6 @@ jobs: | |
git tag v${{ steps.package-version.outputs.version }} | ||
git push origin v${{ steps.package-version.outputs.version }} | ||
- name: Changelog | ||
uses: scottbrenner/generate-changelog-action@master | ||
id: Changelog | ||
with: | ||
package-dir: 'packages/core/package.json' | ||
# 下面主要是创建 github 的release | ||
# 关于创建 release 的更多参数,可以查看 actions/create-release@v1 | ||
|
@@ -90,3 +85,29 @@ jobs: | |
prerelease: false # 是否为预发布版本 | ||
body: | | ||
请点击查看 [更新日志](https://github.com/hellof2e/quark-core/blob/main/packages/core/CHANGELOG.md). | ||
- name: Run Changelog CI | ||
uses: saadmk11/[email protected] | ||
with: | ||
# Optional, you can provide any name for your changelog file, | ||
# We currently support Markdown (.md) and reStructuredText (.rst) files | ||
# defaults to `CHANGELOG.md` if not provided. | ||
# changelog_filename: CHANGELOG.rst | ||
# Optional, only required when you want more customization | ||
# e.g: group your changelog by labels with custom titles, | ||
# different version prefix, pull request title and version number regex etc. | ||
# config file can be in JSON or YAML format. | ||
# config_file: changelog-ci-config.json | ||
# Optional, This will be used to configure git | ||
# defaults to `github-actions[bot]` if not provided. | ||
# committer_username: 'test' | ||
# committer_email: '[email protected]' | ||
# Optional, only required when you want to run Changelog CI | ||
# on an event other than `pull_request` event. | ||
# In this example `release_version` is fetched from `workflow_dispatch` events input. | ||
# You can use any other method to fetch the release version | ||
# such as environment variable or from output of another action | ||
release_version: ${{ github.event.inputs.release_version }} | ||
# Optional | ||
github_token: ${{ secrets.GIT_ACTION }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters