remove checksums and add pubspec version

This commit is contained in:
otsmr 2025-07-19 00:42:57 +02:00
parent f82a95a3a8
commit 56ed913d9a

View file

@ -51,14 +51,11 @@ jobs:
with: with:
name: release-apk name: release-apk
path: build/app/outputs/flutter-apk/*.apk path: build/app/outputs/flutter-apk/*.apk
retention-days: 2
- name: Generate Checksums - name: Extract pubspec version
run: | run: |
tree . echo "PUBSPEC_VERSION=$(grep -oP 'version:\s*\K[^+]+(?=\+)' pubspec.yaml)" >> $GITHUB_ENV
find app -type f -exec md5sum {} \; >> RELEASE.md5sum
find app -type f -exec sha256sum {} \; >> RELEASE.sha256sum
sed -i 's|app/.*/\([^/]*\)$|\1|' RELEASE.sha256sum RELEASE.md5sum
sed -i 's|app/||' RELEASE.sha256sum RELEASE.md5sum
- name: Upload Release Binaries (stable) - name: Upload Release Binaries (stable)
if: ${{ !inputs.dry_run && inputs.channel == 'stable' }} if: ${{ !inputs.dry_run && inputs.channel == 'stable' }}
@ -70,4 +67,4 @@ jobs:
omitNameDuringUpdate: true omitNameDuringUpdate: true
omitPrereleaseDuringUpdate: true omitPrereleaseDuringUpdate: true
allowUpdates: true allowUpdates: true
artifacts: app_*/**/*,RELEASE.sha256sum,RELEASE.md5sum artifacts: app*