aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-09-12 23:28:03 +0200
committerGitHub <[email protected]>2022-09-12 14:28:03 -0700
commit7362f1d54153fe33d9dd10f255e036b274fb5c24 (patch)
treeed0359366fa03d12d82f411524f692343fd2c41e /.github/workflows
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-7362f1d54153fe33d9dd10f255e036b274fb5c24.tar.xz
zen-7362f1d54153fe33d9dd10f255e036b274fb5c24.zip
create release in Sentry and set version string in executable (#162)
* create release in Sentry and set version string in executable * changelog * 0.1.6-pre0 * sentr-cli install dir * 0.1.6-pre1 * include org and project when creating Sentry release * 0.1.6-pre2 * move org and project options * 0.1.6-pre3 * need to first to "new", then finalize * 0.1.6-pre4 * read version before creating release * 0.1.6-pre5
Diffstat (limited to '.github/workflows')
-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}}