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 85b1caf commit 5278896Copy full SHA for 5278896
.github/workflows/release.yml
@@ -27,20 +27,6 @@ jobs:
27
- name: Install dependencies
28
run: npm install
29
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
44
- name: Build
45
run: npm run build
46
0 commit comments