Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
EchterAlsFake committed Jun 8, 2024
1 parent 643ce3c commit 207701e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build_cli_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,28 @@ jobs:
sha512sum ./artifacts/PornFetch_Linux_CLI_x32 | awk '{ print $1 }' > sha512_linux_x32.txt
echo "sha512_linux_x32=$(cat sha512_linux_x32.txt)" >> $GITHUB_ENV
- name: Create GitHub Release
id: create_release
if: steps.check_release.outputs.release_exists == 'false'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
SHA512_WINDOWS_X64: ${{ env.sha512_windows_x64 }}
with:
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:
draft: false
prerelease: true


- name: Get current release body
id: get_release_body
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release view v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }} --json body --jq .body > current_body.txt || echo "" > current_body.txt
Expand Down

0 comments on commit 207701e

Please sign in to comment.