We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f1542 commit 174dfc8Copy full SHA for 174dfc8
.github/workflows/auto-release.yml
@@ -5,7 +5,7 @@ on:
5
branches: [develop]
6
types: [opened, synchronize, reopened, closed]
7
paths:
8
- - 'package.json'
+ - 'packages/tdesign-miniprogram/package.json'
9
issue_comment:
10
types: [edited]
11
@@ -19,8 +19,14 @@ jobs:
19
steps:
20
- run: echo "The head of this PR starts with 'release/'"
21
- uses: actions/checkout@v3
22
+ - name: Extract version
23
+ id: version
24
+ run: |
25
+ echo "version=$(node -p 'require("./packages/tdesign-miniprogram/package.json").version')" >> $GITHUB_OUTPUT
26
- uses: TDesignOteam/tdesign-changelog-action@main
27
id: changelog
28
+ with:
29
+ tag_name: ${{ steps.version.outputs.version }}
30
env:
31
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
- name: Add comment
0 commit comments