mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 17:00:39 +00:00
Compare commits
4 commits
c1208d9a86
...
148f72030d
Author | SHA1 | Date | |
---|---|---|---|
|
148f72030d | ||
|
4e5393417f | ||
|
aa9da48583 | ||
|
798c0a85f9 |
1 changed files with 5 additions and 2 deletions
7
.github/workflows/create_release.yml
vendored
7
.github/workflows/create_release.yml
vendored
|
@ -79,7 +79,10 @@ jobs:
|
||||||
echo -n "$FIREBASE_OPTIONS" | base64 --decode --output $FIREBASE_OPTIONS_PATH
|
echo -n "$FIREBASE_OPTIONS" | base64 --decode --output $FIREBASE_OPTIONS_PATH
|
||||||
cp $FIREBASE_OPTIONS_PATH ./lib
|
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
|
- 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
|
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
|
- name: Install Flutter
|
||||||
|
@ -237,9 +240,9 @@ jobs:
|
||||||
serviceAccountJsonPlainText: ${{ secrets.GH_ACTIONS_SERVICE_ACCOUNT_JSON }}
|
serviceAccountJsonPlainText: ${{ secrets.GH_ACTIONS_SERVICE_ACCOUNT_JSON }}
|
||||||
packageName: com.vodemn.lightmeter
|
packageName: com.vodemn.lightmeter
|
||||||
releaseFiles: app-prod-release.aab
|
releaseFiles: app-prod-release.aab
|
||||||
releaseName: $release_name
|
releaseName: ${{ env.release_name }}
|
||||||
track: production
|
track: production
|
||||||
status: draft
|
status: completed
|
||||||
debugSymbols: merged_native_libs.zip
|
debugSymbols: merged_native_libs.zip
|
||||||
whatsNewDirectory: whatsnew
|
whatsNewDirectory: whatsnew
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue