Skip to content

Commit

Permalink
- 设置项可自定义每个标题级别的序号
Browse files Browse the repository at this point in the history
- 更新CI流程
  • Loading branch information
dale0525 committed Dec 26, 2023
1 parent d968303 commit 7352590
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -28,8 +31,7 @@ jobs:
id: version
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT

- name: Check for Existing Release
id: check_release
- name: Release
run: |
current_version="${{ steps.version.outputs.version }}"
if git rev-parse -q --verify "refs/tags/v$current_version"; then
Expand Down

0 comments on commit 7352590

Please sign in to comment.