Skip to content

Commit f5b1bf2

Browse files
committed
ci: 优化版本管理流程
- 重命名工作流中的步骤名称,使其更具描述性 - 重命名 ci-version.cjs 脚本为 ci-version-extract.cjs,以更准确地反映其功能
1 parent 0f12dba commit f5b1bf2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
git config user.name "github-actions[bot]"
2222
git config user.email "github-actions[bot]@users.noreply.github.com"
2323
24-
- name: Bump version
24+
- name: Version bump
2525
run: npx release-it --ci
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828

29-
- name: Extract version
30-
run: node scripts/ci-version.cjs
29+
- name: Version extract
30+
run: node scripts/ci-version-extract.cjs
3131
id: version
3232

33-
- name: Tag version
33+
- name: Version tag
3434
uses: jacobsvante/tag-major-minor-action@v0
3535
with:
3636
major: ${{ steps.version.outputs.major }}
File renamed without changes.

0 commit comments

Comments
 (0)