From 56ed913d9ad9d5ad9b1efa312feb530c5e05531b Mon Sep 17 00:00:00 2001 From: otsmr Date: Sat, 19 Jul 2025 00:42:57 +0200 Subject: [PATCH] remove checksums and add pubspec version --- .github/workflows/release_github.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release_github.yml b/.github/workflows/release_github.yml index b4bd513..ad0aad0 100644 --- a/.github/workflows/release_github.yml +++ b/.github/workflows/release_github.yml @@ -51,14 +51,11 @@ jobs: with: name: release-apk path: build/app/outputs/flutter-apk/*.apk + retention-days: 2 - - name: Generate Checksums + - name: Extract pubspec version run: | - tree . - 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 + echo "PUBSPEC_VERSION=$(grep -oP 'version:\s*\K[^+]+(?=\+)' pubspec.yaml)" >> $GITHUB_ENV - name: Upload Release Binaries (stable) if: ${{ !inputs.dry_run && inputs.channel == 'stable' }} @@ -70,4 +67,4 @@ jobs: omitNameDuringUpdate: true omitPrereleaseDuringUpdate: true allowUpdates: true - artifacts: app_*/**/*,RELEASE.sha256sum,RELEASE.md5sum \ No newline at end of file + artifacts: app* \ No newline at end of file