Compare commits

..

4 commits

Author SHA1 Message Date
vodemn
6994d5fc58 Version bump 2023-06-25 10:54:52 +00:00
Vadim
86f521b18d added needs 2023-06-25 12:44:55 +02:00
Vadim
b79f1bd509 removed changelog input 2023-06-25 12:22:55 +02:00
Vadim
8193c056d5 create-release job 2023-06-25 10:55:58 +02:00
2 changed files with 18 additions and 3 deletions

View file

@ -22,7 +22,6 @@ jobs:
name: Build .apk & .aab
runs-on: macos-11
timeout-minutes: 30
steps:
# - uses: shaunco/ssh-agent@git-repo-mapping
# with:
@ -99,15 +98,15 @@ jobs:
update-version-in-repo:
name: Update repo version
needs: [build]
runs-on: macos-11
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Increment build number & replace version number
run: $UPDATE_VERSION_SCRIPT
run: perl -i -pe 's/^(version:\s+)(\d+\.\d+\.\d+)(\+)(\d+)$/$1.${{ github.event.inputs.version }}.$3.($4+1)/e' pubspec.yaml
- name: Commit and push changes
run: |
@ -117,3 +116,19 @@ jobs:
git add -A
git commit -m "Version bump"
git push
create-release:
name: Create Github release
needs: [build, update-version-in-repo]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ncipollo/release-action@v1
with:
artifacts: "m3_lightmeter_apk, m3_lightmeter_bundle"
skipIfReleaseExists: true
tag: "v${{ github.event.inputs.version }}"

Binary file not shown.