Skip to content

Commit 03dd4a7

Browse files
Update .github/workflows/release.yaml
Co-authored-by: Mickael Bourgois <35171168+BourgoisMickael@users.noreply.github.com>
1 parent c0dea69 commit 03dd4a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
TAG_EXISTS=$(git tag -l "${{ inputs.tag }}")
4040
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"
4242
exit 1
4343
fi
4444
- name: Ensure version is properly set

.github/workflows/tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
- name: Set development version
3131
run: yarn version --no-git-tag-version --new-version "0.0.0-sha.${{ github.sha }}"
3232
- name: Publish development version
33-
run: npm publish --provenance
33+
run: npm publish --provenance --tag ${{ github.ref_name }}
3434
env:
3535
NODE_AUTH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)