mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 13:08:42 +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:
|
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*
|
||||||
Loading…
Reference in a new issue