mirror of
https://github.com/yanhao98/semantic-release-action-example.git
synced 2025-07-13 14:00:49 +08:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
78d17d5a74 | |||
177eee0ce6 | |||
88d6bccac3 |
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -23,6 +23,7 @@ jobs:
|
||||
id: semantic
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
after-release:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -3,9 +3,16 @@ plugins:
|
||||
- "@semantic-release/commit-analyzer"
|
||||
- "@semantic-release/release-notes-generator"
|
||||
- "@semantic-release/changelog"
|
||||
- - "@semantic-release/npm" # https://github.com/semantic-release/npm?tab=readme-ov-file#environment-variables
|
||||
# #############################
|
||||
# https://github.com/semantic-release/npm?tab=readme-ov-file#environment-variables
|
||||
# #############################
|
||||
- - "@semantic-release/npm"
|
||||
# [provenance](https://docs.npmjs.com/generating-provenance-statements#using-third-party-package-publishing-tools)
|
||||
- npmPublish: true
|
||||
# #############################
|
||||
# https://github.com/semantic-release/github?tab=readme-ov-file#configuration
|
||||
# #############################
|
||||
- "@semantic-release/github"
|
||||
- - "@semantic-release/git"
|
||||
- message: |-
|
||||
chore(release): ${nextRelease.version} [skip ci]
|
||||
|
@ -1,3 +1,11 @@
|
||||
# [1.12.0](https://github.com/yanhao98/semantic-release-action-example/compare/v1.11.0...v1.12.0) (2024-10-11)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* @semantic-release/github ([88d6bcc](https://github.com/yanhao98/semantic-release-action-example/commit/88d6bccac36075cc29185fa860093535a7a6fb19))
|
||||
* 添加 GitHub 令牌到 CI 配置以支持发布流程 ([177eee0](https://github.com/yanhao98/semantic-release-action-example/commit/177eee0ce697602cfdf9150a7596083fe22b72cd))
|
||||
|
||||
# [1.11.0](https://github.com/yanhao98/semantic-release-action-example/compare/v1.10.0...v1.11.0) (2024-10-11)
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "semantic-release-example-24",
|
||||
"description": "An example project to demonstrate semantic-release",
|
||||
"version": "1.11.0",
|
||||
"version": "1.12.0",
|
||||
"files": [
|
||||
"CHANGELOG.md"
|
||||
],
|
||||
|
Reference in New Issue
Block a user