Commit 6ad5454 1 parent c0dea69 commit 6ad5454 Copy full SHA for 6ad5454
File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 38
38
run : |
39
39
TAG_EXISTS=$(git tag -l "${{ inputs.tag }}")
40
40
if [[ -n "$TAG_EXISTS" ]]; then
41
- echo "::error::The tag ${{ inputs.tag }} has already been released "
41
+ echo "::error::The tag ${{ inputs.tag }} already exists "
42
42
exit 1
43
43
fi
44
44
- name : Ensure version is properly set
Original file line number Diff line number Diff line change 1
1
---
2
2
name : tests
3
3
4
- on :
5
- push :
6
- branches-ignore :
7
- - ' development/**'
4
+ on : push
8
5
9
6
permissions :
10
7
packages : write
30
27
- name : Set development version
31
28
run : yarn version --no-git-tag-version --new-version "0.0.0-sha.${{ github.sha }}"
32
29
- name : Publish development version
33
- run : npm publish --provenance
30
+ run : npm publish --provenance --tag "${{ github.ref_name }}"
34
31
env :
35
32
NODE_AUTH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments