Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
asandikci authored Jan 21, 2025
1 parent 694374d commit 2270a51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,24 @@ jobs:
${ANDROID_HOME}/build-tools/34.0.0/apksigner sign --ks apksign.keystore --ks-pass env:SIGNING_STORE_PASSWORD "./current.apk"
mv "current.apk" "pipebender_v${version}"
fi
echo ${version} > version.num
ls -la
- name: Generate checksum
run: |
cd "${{ github.workspace }}/output/"
find . -name '*.apk' -type f -exec sha256sum {} \; > checksums.txt
echo "::notice::$(cat ./checksums.txt)"
echo "::notice::$(echo $(cat ./checksums.txt))"
ls -la
- name: Create release and upload
run: |
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
cd "${{ github.workspace }}/output/"
version=$(cat version.num)
echo $version
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests
gh release upload "v${version}" $(echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt) --repo MaintainTeam/PipeBenderTests
Expand Down

0 comments on commit 2270a51

Please sign in to comment.