ci: fix sentry release version (#481)
This commit is contained in:
@@ -19,6 +19,10 @@ jobs:
|
|||||||
- run: npm publish --access public
|
- run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
- id: cleanVersion
|
||||||
|
run: |
|
||||||
|
version="${{ github.event.release.release.tag_name }}"
|
||||||
|
echo "::set-output name=value::${version/v}"
|
||||||
- name: Create Sentry release
|
- name: Create Sentry release
|
||||||
uses: getsentry/action-release@v1
|
uses: getsentry/action-release@v1
|
||||||
env:
|
env:
|
||||||
@@ -27,4 +31,4 @@ jobs:
|
|||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
with:
|
with:
|
||||||
sourcemaps: ./build/static/js
|
sourcemaps: ./build/static/js
|
||||||
version: ${{ github.ref }}
|
version: ${{ steps.cleanVersion.outputs.value }}
|
||||||
|
|||||||
Reference in New Issue
Block a user