Compare commits

..

4 commits

Author SHA1 Message Date
Vadim
148f72030d typo 2023-08-10 12:32:25 +02:00
Vadim
4e5393417f Release with status complete 2023-08-10 12:18:32 +02:00
Vadim
aa9da48583 Increment build number only for GH release 2023-08-10 12:17:20 +02:00
Vadim
798c0a85f9 Update create_release.yml 2023-08-10 11:55:45 +02:00

View file

@ -79,7 +79,10 @@ jobs:
echo -n "$FIREBASE_OPTIONS" | base64 --decode --output $FIREBASE_OPTIONS_PATH
cp $FIREBASE_OPTIONS_PATH ./lib
# This step makes sense when Github release is enabled because this release increments the build number.
# Therefore here we have to increment it as well to build an apk with the same build number.
- name: Increment build number & replace version number
if: ${{ inputs.github-release }}
run: perl -i -pe 's/^(version:\s+)(\d+\.\d+\.\d+)(\+)(\d+)$/$1."${{ github.event.inputs.version }}".$3.($4+1)/e' pubspec.yaml
- name: Install Flutter
@ -237,9 +240,9 @@ jobs:
serviceAccountJsonPlainText: ${{ secrets.GH_ACTIONS_SERVICE_ACCOUNT_JSON }}
packageName: com.vodemn.lightmeter
releaseFiles: app-prod-release.aab
releaseName: $release_name
releaseName: ${{ env.release_name }}
track: production
status: draft
status: completed
debugSymbols: merged_native_libs.zip
whatsNewDirectory: whatsnew