We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0dea69 commit 03dd4a7Copy full SHA for 03dd4a7
.github/workflows/release.yaml
@@ -38,7 +38,7 @@ jobs:
38
run: |
39
TAG_EXISTS=$(git tag -l "${{ inputs.tag }}")
40
if [[ -n "$TAG_EXISTS" ]]; then
41
- echo "::error::The tag ${{ inputs.tag }} has already been released"
+ echo "::error::The tag ${{ inputs.tag }} already exists"
42
exit 1
43
fi
44
- name: Ensure version is properly set
.github/workflows/tests.yaml
@@ -30,6 +30,6 @@ jobs:
30
- name: Set development version
31
run: yarn version --no-git-tag-version --new-version "0.0.0-sha.${{ github.sha }}"
32
- name: Publish development version
33
- run: npm publish --provenance
+ run: npm publish --provenance --tag ${{ github.ref_name }}
34
env:
35
NODE_AUTH_TOKEN: ${{ github.token }}
0 commit comments