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 2e552a1 commit 924e283
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build_cli_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,23 @@ 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:
- PornFetch_GUI_Windows_x64: ${{ env.SHA512_WINDOWS_X64 }}
draft: false
prerelease: true

- name: Get current release body
id: get_release_body
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/build_cli_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,23 @@ jobs:
sha512sum ./artifacts/PornFetch_Windows_CLI_x32.exe | awk '{ print $1 }' > sha512_windows_x32.txt
echo "sha512_windows_x32=$(cat sha512_windows_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:
- PornFetch_GUI_Windows_x64: ${{ env.SHA512_WINDOWS_X64 }}
draft: false
prerelease: true

- name: Get current release body
id: get_release_body
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/build_gui_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,23 @@ jobs:
sha512sum ./artifacts/main.bin | awk '{ print $1 }' > sha512_linux_x64.txt
echo "sha512_linux_x64=$(cat sha512_linux_x64.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:
- PornFetch_GUI_Windows_x64: ${{ env.SHA512_WINDOWS_X64 }}
draft: false
prerelease: true

- name: Get current release body
id: get_release_body
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/build_gui_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,23 @@ jobs:
sha512sum ./artifacts/main.exe | awk '{ print $1 }' > sha512_windows_x64.txt
echo "sha512_windows_x64=$(cat sha512_windows_x64.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:
- PornFetch_GUI_Windows_x64: ${{ env.SHA512_WINDOWS_X64 }}
draft: false
prerelease: true

- name: Get current release body
id: get_release_body
run: |
Expand Down

0 comments on commit 924e283

Please sign in to comment.