Skip to content

Commit 2d7d4b9

Browse files
authored
chore: publish v1.11.0-beta.1 (#3945)
* chore: publish v1.11.0-beta.1 * ci: update auto-release.yml
1 parent d41a18f commit 2d7d4b9

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/auto-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [develop]
66
types: [opened, synchronize, reopened, closed]
77
paths:
8-
- 'package.json'
8+
- 'packages/tdesign-miniprogram/package.json'
99
issue_comment:
1010
types: [edited]
1111

@@ -19,8 +19,14 @@ jobs:
1919
steps:
2020
- run: echo "The head of this PR starts with 'release/'"
2121
- 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
2226
- uses: TDesignOteam/tdesign-changelog-action@main
2327
id: changelog
28+
with:
29+
tag: ${{ steps.version.outputs.version }}
2430
env:
2531
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2632
- name: Add comment

packages/tdesign-miniprogram/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tdesign-miniprogram",
3-
"version": "1.11.0-beta",
3+
"version": "1.11.0-beta.1",
44
"title": "tdesign-miniprogram",
55
"description": "TDesign Component for miniprogram",
66
"main": "miniprogram_dist/index.js",
@@ -24,4 +24,4 @@
2424
"author": "tdesign",
2525
"license": "MIT",
2626
"devDependencies": {}
27-
}
27+
}

0 commit comments

Comments
 (0)