3 Commits

Author SHA1 Message Date
78d17d5a74 chore(release): 1.12.0 [skip ci]
# [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](88d6bccac3))
* 添加 GitHub 令牌到 CI 配置以支持发布流程 ([177eee0](177eee0ce6))
2024-10-11 16:30:48 +08:00
177eee0ce6 feat: 添加 GitHub 令牌到 CI 配置以支持发布流程 2024-10-11 16:30:14 +08:00
88d6bccac3 feat: @semantic-release/github 2024-10-11 16:27:59 +08:00
4 changed files with 18 additions and 2 deletions

View File

@ -23,6 +23,7 @@ jobs:
id: semantic id: semantic
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
after-release: after-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -3,9 +3,16 @@ plugins:
- "@semantic-release/commit-analyzer" - "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator" - "@semantic-release/release-notes-generator"
- "@semantic-release/changelog" - "@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) # [provenance](https://docs.npmjs.com/generating-provenance-statements#using-third-party-package-publishing-tools)
- npmPublish: true - npmPublish: true
# #############################
# https://github.com/semantic-release/github?tab=readme-ov-file#configuration
# #############################
- "@semantic-release/github"
- - "@semantic-release/git" - - "@semantic-release/git"
- message: |- - message: |-
chore(release): ${nextRelease.version} [skip ci] chore(release): ${nextRelease.version} [skip ci]

View File

@ -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.11.0](https://github.com/yanhao98/semantic-release-action-example/compare/v1.10.0...v1.11.0) (2024-10-11)

View File

@ -1,7 +1,7 @@
{ {
"name": "semantic-release-example-24", "name": "semantic-release-example-24",
"description": "An example project to demonstrate semantic-release", "description": "An example project to demonstrate semantic-release",
"version": "1.11.0", "version": "1.12.0",
"files": [ "files": [
"CHANGELOG.md" "CHANGELOG.md"
], ],