Version auf 0.9.13 gesetzt
This commit is contained in:
parent
ff49d9aea2
commit
ee12a20909
|
|
@ -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
|
# 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
|
# 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.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 0.9.12
|
version: 0.9.13
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.10.1
|
sdk: ^3.10.1
|
||||||
|
|
|
||||||
22
release.sh
22
release.sh
|
|
@ -1,15 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
flutter clean
|
|
||||||
flutter pub get
|
|
||||||
flutter build apk --release
|
|
||||||
cp build/app/outputs/flutter-apk/app-release.apk ./release/eggtimer.apk
|
|
||||||
echo "APK built and copied to ./release/eggtimer.apk"
|
|
||||||
GITEA_URL="https://git.ude-consult.de"
|
|
||||||
GITEA_TOKEN="6ea286299e8e081d9923d5deea2fbd91ad83dc8e"
|
|
||||||
OWNER="Arnold"
|
|
||||||
REPO="EggTimer"
|
|
||||||
APK_PATH="release/eggtimer.apk"
|
|
||||||
|
|
||||||
PUBSPEC="pubspec.yaml"
|
PUBSPEC="pubspec.yaml"
|
||||||
|
|
||||||
|
|
@ -29,6 +19,17 @@ echo "Neue Version: $new"
|
||||||
|
|
||||||
sed -i "s/^version: .*/version: ${new}/" "$PUBSPEC"
|
sed -i "s/^version: .*/version: ${new}/" "$PUBSPEC"
|
||||||
|
|
||||||
|
flutter clean
|
||||||
|
flutter pub get
|
||||||
|
flutter build apk --release
|
||||||
|
cp build/app/outputs/flutter-apk/app-release.apk ./release/eggtimer.apk
|
||||||
|
echo "APK built and copied to ./release/eggtimer.apk"
|
||||||
|
GITEA_URL="https://git.ude-consult.de"
|
||||||
|
GITEA_TOKEN="6ea286299e8e081d9923d5deea2fbd91ad83dc8e"
|
||||||
|
OWNER="Arnold"
|
||||||
|
REPO="EggTimer"
|
||||||
|
APK_PATH="release/eggtimer.apk"
|
||||||
|
|
||||||
# Version z.B. aus Datei oder Argument
|
# Version z.B. aus Datei oder Argument
|
||||||
VERSION_TAG=$(grep "^version:" pubspec.yaml | awk '{print $2}')
|
VERSION_TAG=$(grep "^version:" pubspec.yaml | awk '{print $2}')
|
||||||
git commit -a -m"Version auf ${VERSION_TAG} gesetzt"
|
git commit -a -m"Version auf ${VERSION_TAG} gesetzt"
|
||||||
|
|
@ -69,4 +70,3 @@ curl -sS -X POST \
|
||||||
|
|
||||||
echo "APK hochgeladen."
|
echo "APK hochgeladen."
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue