Skip to content

Commit

Permalink
fix: Fixing dry-run failed getting correct tag (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf committed Aug 19, 2021
1 parent 8caa5e4 commit f5f994e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
- run: npm run lint
# Grab the tag number by running semantic-release in dry mode and put the result in release_tag env variable
- run: echo "release_tag=$(npm run semantic-release-dry-run | grep -Po 'The next release version is \K([\w.-]*)')" >> $GITHUB_ENV
- run: ASSETS_URL="https://unpkg.com/@workadventure/scripting-api-extra@${{ env.release_tag }}/dist" npm run build --if-present
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
CI: true
- run: ASSETS_URL="https://unpkg.com/@workadventure/scripting-api-extra@${{ env.release_tag }}/dist" npm run build --if-present
- run: npm run test
- run: curl -s https://codecov.io/bash | bash
env:
Expand Down

0 comments on commit f5f994e

Please sign in to comment.