Skip to content

Commit

Permalink
hopefully everything works now
Browse files Browse the repository at this point in the history
  • Loading branch information
EchterAlsFake committed Jun 7, 2024
1 parent 0401ca9 commit 35c5569
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_cli_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Check if Release Exists
id: check_release
run: |
if gh release view v1.0.0-automated-${{ env.GITHUB_SHA_SHORT }} >/dev/null 2>&1; then
if gh release view v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }} >/dev/null 2>&1; then
echo "RELEASE_EXISTS=true" >> $GITHUB_ENV
echo "::set-output name=release_exists::true"
else
Expand Down Expand Up @@ -143,8 +143,8 @@ jobs:
SHA512_LINUX_X64: ${{ env.sha512_linux_x64 }}
SHA512_LINUX_X32: ${{ env.sha512_linux_x32 }}
with:
tag_name: v1.0.0-automated-${{ env.GITHUB_SHA_SHORT }}
release_name: Automated Release v1.0.0-${{ env.GITHUB_SHA_SHORT }}
tag_name: v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }}
release_name: Automated Release v${{ secrets.VERSION }}-${{ env.GITHUB_SHA_SHORT }}
body: |
This is an automated release generated by the CI/CD pipeline.
SHA512 Checksums:
Expand All @@ -156,7 +156,7 @@ jobs:
- name: Get Release Upload URL
id: get_release_url
run: |
UPLOAD_URL=$(gh release view v1.0.0-automated-${{ env.GITHUB_SHA_SHORT }} --json uploadUrl --jq .uploadUrl)
UPLOAD_URL=$(gh release view v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }} --json uploadUrl --jq .uploadUrl)
echo "UPLOAD_URL=$UPLOAD_URL" >> $GITHUB_ENV
echo "::set-output name=upload_url::$UPLOAD_URL"
env:
Expand Down

0 comments on commit 35c5569

Please sign in to comment.