Skip to content

Commit 9797450

Browse files
committed
chore(ci): fix update version
1 parent 68d8ec8 commit 9797450

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/auto-update-version.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: 🎇 Update Repository
22

33
on:
4+
push:
5+
branches:
6+
- ci/update-version
47
workflow_dispatch:
58
inputs:
69
version:
@@ -18,13 +21,17 @@ jobs:
1821
with:
1922
submodules: true
2023

24+
- name: update version
25+
run: |
26+
cd univer-typedoc/submodules/univer
27+
git checkout v${{ inputs.version}}
28+
git pull
29+
2130
- name: UpdateRepository
2231
uses: technote-space/create-pr-action@v2
2332
with:
2433
EXECUTE_COMMANDS: |
25-
npm version ${{ inputs.version }} --no-git-tag-version
26-
cd univer-typedoc/submodules/univer
27-
git checkout v${{ inputs.version}}
34+
echo 'skip'
2835
COMMIT_MESSAGE: 'chore(release): v${{ inputs.version }}'
2936
COMMIT_NAME: GitHub Actions
3037
PR_BRANCH_PREFIX: create-pr-action/

0 commit comments

Comments
 (0)