fix CI deployment 6

This commit is contained in:
Yeicor
2024-03-10 18:11:24 +01:00
parent 3174a39ef9
commit 9cb6b29c93

View File

@@ -16,6 +16,8 @@ jobs:
- uses: "actions/checkout@v4"
with: # Ensure we are not in a detached HEAD state
ref: "master"
# Check that the tag commit is the latest master commit
- run: "[[ $(git rev-parse ${{ github.ref }}) == $(git rev-parse master) ]] || exit 1"
- run: "echo 'CLEAN_VERSION=${{ github.ref }}' | sed 's,refs/tags/v,,g' >> $GITHUB_ENV"
# Write the new version to package.json
- uses: "actions/setup-node@v4"