diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56576b2..63c2d23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,3 +59,12 @@ jobs: files: | ${{ steps.extract.outputs.destination }}/app-fdroid.apk ${{ steps.extract.outputs.destination }}/app-fdroid.aab + + - name: publish + uses: r0adkll/upload-google-play@v1 + with: + serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} + packageName: me.hanh.ywallet + releaseFiles: ${{ steps.extract.outputs.destination }}/app-fdroid.aab + track: internal + status: completed diff --git a/codegen.sh b/codegen.sh new file mode 100755 index 0000000..6edec93 --- /dev/null +++ b/codegen.sh @@ -0,0 +1,2 @@ +flutter pub get +flutter pub run build_runner build -d diff --git a/install-aab.sh b/install-aab.sh index 29a3064..8034eb2 100755 --- a/install-aab.sh +++ b/install-aab.sh @@ -1,5 +1,5 @@ #!/bin/sh adb uninstall me.hanh.ywallet -bundletool build-apks --overwrite --bundle=build/app/outputs/bundle/release/app-release.aab --output=/tmp/app.apks --ks=docker/zwallet.jks --ks-key-alias=hanh --ks-pass=pass:$JKS_PASSWORD +bundletool build-apks --overwrite --bundle=build/app/outputs/bundle/release/app-release.aab --output=/tmp/app.apks --ks=docker/zwallet.jks --ks-key-alias=zwallet --ks-pass=pass:$JKS_PASSWORD bundletool install-apks --adb=$ANDROID_SDK_ROOT/platform-tools/adb --apks=/tmp/app.apks diff --git a/pubspec.yaml b/pubspec.yaml index 0e5a924..9625f59 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.2.17+367 +version: 1.2.17+368 environment: sdk: ">=2.12.0 <3.0.0"