mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 17:00:39 +00:00
Compare commits
2 commits
cd2f113448
...
c1208d9a86
Author | SHA1 | Date | |
---|---|---|---|
|
c1208d9a86 | ||
|
20c14e4af2 |
1 changed files with 13 additions and 1 deletions
14
.github/workflows/create_release.yml
vendored
14
.github/workflows/create_release.yml
vendored
|
@ -197,6 +197,10 @@ jobs:
|
||||||
needs: [build, generate-release-notes]
|
needs: [build, generate-release-notes]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Download app bundle
|
- name: Download app bundle
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -218,6 +222,14 @@ jobs:
|
||||||
mkdir whatsnew
|
mkdir whatsnew
|
||||||
mv whatsnew-en-US whatsnew
|
mv whatsnew-en-US whatsnew
|
||||||
|
|
||||||
|
# https://unix.stackexchange.com/questions/13466/can-grep-output-only-specified-groupings-that-match'
|
||||||
|
# https://stackoverflow.com/questions/74353311/github-workflow-unable-to-process-file-command-env-successfully
|
||||||
|
- name: Create Google Play release name
|
||||||
|
id: release-name
|
||||||
|
run: |
|
||||||
|
RELEASE_NAME=$(echo "$(cat pubspec.yaml)" | sed -n -r "s/^version:\s{1}(.*)[+](.*)$/700\2 (\1)/p")
|
||||||
|
echo "release_name=$RELEASE_NAME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Google Play release
|
- name: Create Google Play release
|
||||||
id: create-google-play-release-step
|
id: create-google-play-release-step
|
||||||
uses: r0adkll/upload-google-play@v1.1.1
|
uses: r0adkll/upload-google-play@v1.1.1
|
||||||
|
@ -225,7 +237,7 @@ 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: echo "$(cat pubspec.yaml)" | sed -n -r "s/^version:\s{1}(.*)[+](.*)$/700\2 (\1)/p"
|
releaseName: $release_name
|
||||||
track: production
|
track: production
|
||||||
status: draft
|
status: draft
|
||||||
debugSymbols: merged_native_libs.zip
|
debugSymbols: merged_native_libs.zip
|
||||||
|
|
Loading…
Reference in a new issue