diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index e776d1e6..37b15532 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -384,45 +384,26 @@ jobs: run: make build-folders build-linux build-linux-arm build-darwin build-win compress-folders sentry-release: - needs: build-binaries + needs: upload-release runs-on: ubuntu-latest steps: - name: Checkout Statping Repo uses: actions/checkout@v2 - - name: Setting ENV's - run: echo ::set-env name=VERSION::$(cat version.txt) - shell: bash - - - name: Download Compiled Frontend (rice-box.go) - uses: actions/download-artifact@v1 - with: - name: static-rice-box - path: ./source - - - 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: dev - - - name: Sentry Frontend Release + - name: Setup Sentry CLI uses: mathrix-education/setup-sentry-cli@master with: version: latest url: ${{ secrets.SENTRY_URL }} token: ${{ secrets.SENTRY_AUTH_TOKEN }} organization: statping - project: frontend - run: | - sentry-cli releases new -p frontend v$VERSION - sentry-cli releases set-commits --auto v$VERSION - sentry-cli releases files v$VERSION upload-sourcemaps source/dist + + - name: Setting ENV's + run: echo ::set-env name=VERSION::$(cat version.txt) + shell: bash + + - name: Sentry Release + run: make sentry-release docker-release: needs: [test, test-postman-sqlite, test-postman-mysql, test-postman-postgres] diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index ea3c2251..dbbd9681 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -489,7 +489,6 @@ jobs: url: ${{ secrets.SENTRY_URL }} token: ${{ secrets.SENTRY_AUTH_TOKEN }} organization: statping - project: frontend - name: Setting ENV's run: echo ::set-env name=VERSION::$(cat version.txt)