aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/create_release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/create_release.yml')
-rw-r--r--.github/workflows/create_release.yml27
1 files changed, 21 insertions, 6 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml
index 9e3a430a9..78ed375ae 100644
--- a/.github/workflows/create_release.yml
+++ b/.github/workflows/create_release.yml
@@ -195,6 +195,23 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Read VERSION.txt
+ id: read_version
+ uses: andstor/file-reader-action@v1
+ with:
+ path: "VERSION.txt"
+
+ - name: Get Sentry CLI
+ run: |
+ curl -sL https://sentry.io/get-cli/ | bash
+ ls -la ./scripts
+ env:
+ INSTALL_DIR: ./scripts
+
+ - name: Create Release in Sentry
+ run: |
+ scripts/sentry-cli --auth-token ${{ secrets.SENTRY_API_KEY }} releases new --org to --project zen-server ${{steps.read_version.outputs.contents}}
+
- name: Download Linux artifacts
uses: actions/download-artifact@v1
with:
@@ -223,12 +240,6 @@ jobs:
with:
path: "CHANGELOG.tmp"
- - name: Read VERSION.txt
- id: read_version
- uses: andstor/file-reader-action@v1
- with:
- path: "VERSION.txt"
-
- name: Check prerelease
id: get-prerelease
uses: haya14busa/action-cond@v1
@@ -252,3 +263,7 @@ jobs:
linux/zenserver-linux.zip
win64/zenserver-win64.zip
macos/zenserver-macos.zip
+
+ - name: Finalize Release in Sentry
+ run: |
+ scripts/sentry-cli --auth-token ${{ secrets.SENTRY_API_KEY }} releases finalize --org to --project zen-server ${{steps.read_version.outputs.contents}}