This commit is contained in:
parent
707f14c5fb
commit
13f957f016
@ -3,7 +3,7 @@ name: Flutter Schmutter
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -51,9 +51,11 @@ jobs:
|
||||
files: |-
|
||||
build/app/outputs/flutter-apk/app-release.apk
|
||||
token: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
- name: wait for gitea to catch up
|
||||
run: sleep 10
|
||||
|
||||
- name: trigger fdroid puller
|
||||
run: curl https://flumm.io/pullfdroid.php?token=${{secrets.PULLER_TOKEN}}
|
||||
- name: upload apk to f-droid server
|
||||
run: |
|
||||
BUILD_NUMBER=$(grep '^version:' pubspec.yaml | sed 's/.*+//')
|
||||
curl -X POST "https://flumm.io/pullfdroid.php" \
|
||||
-F "token=${{ secrets.PULLER_TOKEN }}" \
|
||||
-F "apk=@build/app/outputs/flutter-apk/app-release.apk" \
|
||||
-F "build=$BUILD_NUMBER"
|
||||
|
@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.1.16+46
|
||||
version: 1.1.17+47
|
||||
|
||||
environment:
|
||||
sdk: ^3.9.0-100.2.beta
|
||||
|
Loading…
x
Reference in New Issue
Block a user