mirror of https://github.com/statping/statping
workflow
parent
9223647331
commit
1ff3cd5821
|
@ -482,22 +482,7 @@ jobs:
|
||||||
- name: Checkout Statping Repo
|
- name: Checkout Statping Repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setting ENV's
|
- name: Setup Sentry CLI
|
||||||
run: echo ::set-env name=VERSION::$(cat version.txt)
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Sentry Backend Release
|
|
||||||
uses: tclindner/sentry-releases-action@v1.0.0
|
|
||||||
env:
|
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
|
||||||
SENTRY_ORG: statping
|
|
||||||
SENTRY_PROJECT: backend
|
|
||||||
with:
|
|
||||||
tagName: v${{ env.VERSION }}
|
|
||||||
environment: production
|
|
||||||
|
|
||||||
- name: Sentry Frontend Release
|
|
||||||
uses: mathrix-education/setup-sentry-cli@master
|
uses: mathrix-education/setup-sentry-cli@master
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
|
@ -505,10 +490,13 @@ jobs:
|
||||||
token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
organization: statping
|
organization: statping
|
||||||
project: frontend
|
project: frontend
|
||||||
run: |
|
|
||||||
sentry-cli releases new -p frontend v$VERSION
|
- name: Setting ENV's
|
||||||
sentry-cli releases set-commits --auto v$VERSION
|
run: echo ::set-env name=VERSION::$(cat version.txt)
|
||||||
sentry-cli releases files v$VERSION upload-sourcemaps source/dist
|
shell: bash
|
||||||
|
|
||||||
|
- name: Sentry Release
|
||||||
|
run: make sentry-release
|
||||||
|
|
||||||
homebrew-release:
|
homebrew-release:
|
||||||
needs: upload-release
|
needs: upload-release
|
||||||
|
|
9
Makefile
9
Makefile
|
@ -330,11 +330,14 @@ valid-sign:
|
||||||
gpg --verify statping.asc
|
gpg --verify statping.asc
|
||||||
|
|
||||||
sentry-release:
|
sentry-release:
|
||||||
sentry-cli releases --org statping new -p backend -p frontend v${VERSION}
|
sentry-cli releases --org statping --project backend new v${VERSION}
|
||||||
sentry-cli releases --org statping set-commits v${VERSION} --auto
|
sentry-cli releases --org statping --project backend set-commits v${VERSION} --auto
|
||||||
|
sentry-cli releases --org statping --project backend finalize v${VERSION}
|
||||||
|
sentry-cli releases --org statping --project frontend new v${VERSION}
|
||||||
|
sentry-cli releases --org statping --project frontend set-commits v${VERSION} --auto
|
||||||
sentry-cli releases --org statping --project frontend files v${VERSION} upload ./frontend/dist
|
sentry-cli releases --org statping --project frontend files v${VERSION} upload ./frontend/dist
|
||||||
sentry-cli releases --org statping --project frontend files v${VERSION} upload-sourcemaps ./frontend/dist --no-sourcemap-reference
|
sentry-cli releases --org statping --project frontend files v${VERSION} upload-sourcemaps ./frontend/dist --no-sourcemap-reference
|
||||||
sentry-cli releases --org statping finalize v${VERSION}
|
sentry-cli releases --org statping --project frontend finalize v${VERSION}
|
||||||
|
|
||||||
download-bins: clean
|
download-bins: clean
|
||||||
mkdir build || true
|
mkdir build || true
|
||||||
|
|
Loading…
Reference in New Issue