mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
Compare commits
1
Commits
v3.0.0
...
8396f98a85
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8396f98a85 |
@@ -117,31 +117,11 @@ jobs:
|
|||||||
printf '%s\n' "$certs"
|
printf '%s\n' "$certs"
|
||||||
fingerprint=$(printf '%s\n' "$certs" | sed -n 's/.*certificate SHA-256 digest: //p' | head -1 | tr '[:lower:]' '[:upper:]' | sed 's/\(..\)/\1:/g; s/:$//')
|
fingerprint=$(printf '%s\n' "$certs" | sed -n 's/.*certificate SHA-256 digest: //p' | head -1 | tr '[:lower:]' '[:upper:]' | sed 's/\(..\)/\1:/g; s/:$//')
|
||||||
echo "fingerprint=$fingerprint" >> "$GITHUB_OUTPUT"
|
echo "fingerprint=$fingerprint" >> "$GITHUB_OUTPUT"
|
||||||
- name: Compose release notes
|
|
||||||
run: |
|
|
||||||
{
|
|
||||||
cat "metadata/en-US/changelogs/${{ needs.build.outputs.version-code }}.txt"
|
|
||||||
echo
|
|
||||||
echo '---'
|
|
||||||
echo
|
|
||||||
echo "APK SHA-256: \`$(grep 'subtracks\.apk$' SHA256SUMS | cut -d ' ' -f1)\`"
|
|
||||||
echo
|
|
||||||
echo "AAB SHA-256: \`$(grep 'subtracks\.aab$' SHA256SUMS | cut -d ' ' -f1)\`"
|
|
||||||
echo
|
|
||||||
echo "Signing certificate SHA-256: \`${{ steps.checksums.outputs.fingerprint }}\`"
|
|
||||||
echo
|
|
||||||
echo 'The signing certificate is attached as `release-certificate.pem`.'
|
|
||||||
if [ "${{ steps.stable.outputs.value }}" = "true" ]; then
|
|
||||||
echo 'The `.aab` is the exact bundle uploaded to Google Play; the `.apk` is the universal APK for sideloading.'
|
|
||||||
else
|
|
||||||
echo 'The `.aab` is the built app bundle (this pre-release was not uploaded to Google Play); the `.apk` is the universal APK for sideloading.'
|
|
||||||
fi
|
|
||||||
} > release-notes.md
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
args=(--verify-tag --title "$GITHUB_REF_NAME" --notes-file release-notes.md)
|
args=(--verify-tag --title "$GITHUB_REF_NAME" --notes-file "metadata/en-US/changelogs/${{ needs.build.outputs.version-code }}.txt")
|
||||||
if [ "${{ steps.stable.outputs.value }}" != "true" ]; then
|
if [ "${{ steps.stable.outputs.value }}" != "true" ]; then
|
||||||
args+=(--prerelease)
|
args+=(--prerelease)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user