Skip to content

Commit 5278896

Browse files
committed
ci: remove extract version from tag
1 parent 85b1caf commit 5278896

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,6 @@ jobs:
2727
- name: Install dependencies
2828
run: npm install
2929

30-
- name: Extract version from tag or dispatch
31-
id: get_version
32-
run: |
33-
if [ "${{ github.event_name }}" == "push" ]; then
34-
echo "Version from tag ${GITHUB_REF##*/}"
35-
echo "::set-output name=version::${GITHUB_REF##*/v}"
36-
elif [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
37-
echo "Version from dispatch input ${{ github.event.inputs.version }}"
38-
echo "::set-output name=version::${{ github.event.inputs.version }}"
39-
fi
40-
41-
- name: Update version in package.json
42-
run: npm version ${{ steps.get_version.outputs.version }} --no-git-tag-version
43-
4430
- name: Build
4531
run: npm run build
4632

0 commit comments

Comments
 (0)