mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
remove checksums and add pubspec version
This commit is contained in:
parent
f82a95a3a8
commit
56ed913d9a
1 changed files with 4 additions and 7 deletions
11
.github/workflows/release_github.yml
vendored
11
.github/workflows/release_github.yml
vendored
|
|
@ -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
|
||||
artifacts: app*
|
||||
Loading…
Reference in a new issue