mirror of
https://github.com/yanhao98/semantic-release-action-example.git
synced 2025-07-12 21:50:49 +08:00
Compare commits
29 Commits
Author | SHA1 | Date | |
---|---|---|---|
79c586d85c | |||
6e64b28c40 | |||
2ad55f1a8e | |||
b8adfbd362 | |||
805d316240 | |||
67d4f921ee | |||
335af9b6cb | |||
e6514b76fd | |||
9e5802559b | |||
3bfb467f45 | |||
89ee62445e | |||
70d52672a7 | |||
392e6d2fee | |||
deb6784e46 | |||
05e64563a6 | |||
293bb8056f | |||
1b1bef87af | |||
78d17d5a74 | |||
177eee0ce6 | |||
88d6bccac3 | |||
4c8b09a4f5 | |||
c1b5c29160 | |||
b730fcbd83 | |||
86fcf8f8c6 | |||
7fbd0cb025 | |||
cd24494c1a | |||
2d044c1041 | |||
ff48abf234 | |||
a61080822d |
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -12,9 +12,11 @@ jobs:
|
||||
next_release_published: ${{ steps.semantic.outputs.next_release_published }}
|
||||
next_release_version: ${{ steps.semantic.outputs.next_release_version }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions: # Job-level permissions configuration starts here
|
||||
contents: write # 'write' access to repository contents
|
||||
id-token: write
|
||||
permissions: # Job-level permissions configuration starts here
|
||||
id-token: write # npm provenance requires this permission
|
||||
contents: write # to be able to publish a GitHub release
|
||||
issues: write # to be able to comment on released issues
|
||||
pull-requests: write # to be able to comment on released pull requests
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -23,6 +25,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]
|
||||
|
62
CHANGELOG.md
Normal file
62
CHANGELOG.md
Normal file
@ -0,0 +1,62 @@
|
||||
# [1.15.0](https://github.com/yanhao98/semantic-release-action-example/compare/v1.14.0...v1.15.0) (2024-10-17)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **a:** 冒号后面有空格 ([2ad55f1](https://github.com/yanhao98/semantic-release-action-example/commit/2ad55f1a8e46bb257cb205c338c65b3b3ffea860))
|
||||
|
||||
# [1.14.0](https://github.com/yanhao98/semantic-release-action-example/compare/v1.13.1...v1.14.0) (2024-10-16)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **a(aa):** xxx ([67d4f92](https://github.com/yanhao98/semantic-release-action-example/commit/67d4f921ee07d91394e24b73b48007e6fc063f08))
|
||||
|
||||
## [1.13.1](https://github.com/yanhao98/semantic-release-action-example/compare/v1.13.0...v1.13.1) (2024-10-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* 更新CI工作流权限配置以支持发布和评论功能 ([e6514b7](https://github.com/yanhao98/semantic-release-action-example/commit/e6514b76fd31e2d469a0f1d9f924f6edc38de669))
|
||||
|
||||
# [1.13.0](https://github.com/yanhao98/semantic-release-action-example/compare/v1.12.0...v1.13.0) (2024-10-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* 错误修复 2. 2024年10月11日 星期五 16时34分42秒 CST on main ([293bb80](https://github.com/yanhao98/semantic-release-action-example/commit/293bb8056fb695401bb0f20540fdf75ab7af871c))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* 一项新功能 1. 2024年10月11日 星期五 16时34分42秒 CST on main ([1b1bef8](https://github.com/yanhao98/semantic-release-action-example/commit/1b1bef87afceb194b0d16e9f3f7440d0697a04b3))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* 提高性能的代码更改 6. 2024年10月11日 星期五 16时34分42秒 CST on main ([70d5267](https://github.com/yanhao98/semantic-release-action-example/commit/70d52672a7698efaba5604a4d819816a5a4b12ea))
|
||||
|
||||
# [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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* 错误修复 2. 2024年10月11日 星期五 15时56分43秒 CST on main ([ff48abf](https://github.com/yanhao98/semantic-release-action-example/commit/ff48abf234934470e18f70360f119e29642718e5))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* 一项新功能 1. 2024年10月11日 星期五 15时56分43秒 CST on main ([a610808](https://github.com/yanhao98/semantic-release-action-example/commit/a61080822ddd7ff51ff8fdb028c4ebb622b5e468))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* 提高性能的代码更改 6. 2024年10月11日 星期五 15时56分43秒 CST on main ([86fcf8f](https://github.com/yanhao98/semantic-release-action-example/commit/86fcf8f8c6664fe329906fe8ee795d412aafbdb7))
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "semantic-release-example-24",
|
||||
"description": "An example project to demonstrate semantic-release",
|
||||
"version": "1.10.0",
|
||||
"version": "1.15.0",
|
||||
"files": [
|
||||
"CHANGELOG.md"
|
||||
],
|
||||
|
Reference in New Issue
Block a user