mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
release: gzip the R8 mapping before attaching it
This commit is contained in:
@@ -108,6 +108,7 @@ jobs:
|
||||
run: |
|
||||
cp dist/apk/release/app-release.apk subtracks.apk
|
||||
cp dist/bundle/release/app-release.aab subtracks.aab
|
||||
gzip -n -9 -c dist/mapping/release/mapping.txt > mapping.txt.gz
|
||||
sha256sum subtracks.apk subtracks.aab > SHA256SUMS
|
||||
echo "Artifact SHA-256:"
|
||||
sha256sum subtracks.apk subtracks.aab
|
||||
@@ -144,4 +145,4 @@ jobs:
|
||||
if [ "${{ steps.stable.outputs.value }}" != "true" ]; then
|
||||
args+=(--prerelease)
|
||||
fi
|
||||
gh release create "$GITHUB_REF_NAME" subtracks.apk subtracks.aab SHA256SUMS dist/release-certificate.pem dist/mapping/release/mapping.txt "${args[@]}"
|
||||
gh release create "$GITHUB_REF_NAME" subtracks.apk subtracks.aab SHA256SUMS dist/release-certificate.pem mapping.txt.gz "${args[@]}"
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ The APK and the AAB are signed with the release key. Certificate SHA-256:
|
||||
02da2cb7b8214e53bdbfb455698dcb965222f91c954b5210aeac96fe329c8f01
|
||||
```
|
||||
|
||||
Each release attaches the APK, the AAB, the checksums, the certificate (committed here as [`release-certificate.pem`](release-certificate.pem)) and the R8 `mapping.txt`:
|
||||
Each release attaches the APK, the AAB, the checksums, the certificate (committed here as [`release-certificate.pem`](release-certificate.pem)) and the gzipped R8 `mapping.txt.gz`:
|
||||
|
||||
```sh
|
||||
sha256sum -c SHA256SUMS
|
||||
|
||||
Reference in New Issue
Block a user