Skip to content

Commit

Permalink
generate latest version JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
mvrpl committed May 5, 2024
1 parent 7eb1139 commit 7a137f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
- name: Get SHA256
id: get_sha256
run: |
echo '{"version": "${{ github.ref_name }}"}' >> latest.json
aws s3 cp latest.json s3://artifacts-mvrpl/chsht/releases/latest.json
echo "SHA256_WIN_AMD64=$(curl -sL https://artifacts-mvrpl.s3.sa-east-1.amazonaws.com/chsht/releases/${{ github.ref_name }}/chsht-win-amd64.exe | sha256sum | cut -d " " -f 1)" >> $GITHUB_ENV
echo "SHA256_MACOS_ARM64=$(curl -sL https://artifacts-mvrpl.s3.sa-east-1.amazonaws.com/chsht/releases/${{ github.ref_name }}/chsht-macos-arm64 | sha256sum | cut -d " " -f 1)" >> $GITHUB_ENV
echo "SHA256_MACOS_AMD64=$(curl -sL https://artifacts-mvrpl.s3.sa-east-1.amazonaws.com/chsht/releases/${{ github.ref_name }}/chsht-macos-amd64 | sha256sum | cut -d " " -f 1)" >> $GITHUB_ENV
Expand Down

0 comments on commit 7a137f9

Please sign in to comment.