Skip to content

Commit 6ad5454

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

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
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

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
name: tests
33

4-
on:
5-
push:
6-
branches-ignore:
7-
- 'development/**'
4+
on: push
85

96
permissions:
107
packages: write
@@ -30,6 +27,6 @@ jobs:
3027
- name: Set development version
3128
run: yarn version --no-git-tag-version --new-version "0.0.0-sha.${{ github.sha }}"
3229
- name: Publish development version
33-
run: npm publish --provenance
30+
run: npm publish --provenance --tag "${{ github.ref_name }}"
3431
env:
3532
NODE_AUTH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)