Compare commits

..

No commits in common. "6994d5fc58f2fdca9a58df6e2a47bbfbffed25d5" and "64cfb3cde1dcb2ca535c98b318617542b6c780b6" have entirely different histories.

2 changed files with 3 additions and 18 deletions

View file

@ -22,6 +22,7 @@ jobs:
name: Build .apk & .aab name: Build .apk & .aab
runs-on: macos-11 runs-on: macos-11
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
# - uses: shaunco/ssh-agent@git-repo-mapping # - uses: shaunco/ssh-agent@git-repo-mapping
# with: # with:
@ -98,15 +99,15 @@ jobs:
update-version-in-repo: update-version-in-repo:
name: Update repo version name: Update repo version
needs: [build]
runs-on: macos-11 runs-on: macos-11
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Increment build number & replace version number - name: Increment build number & replace version number
run: perl -i -pe 's/^(version:\s+)(\d+\.\d+\.\d+)(\+)(\d+)$/$1.${{ github.event.inputs.version }}.$3.($4+1)/e' pubspec.yaml run: $UPDATE_VERSION_SCRIPT
- name: Commit and push changes - name: Commit and push changes
run: | run: |
@ -116,19 +117,3 @@ jobs:
git add -A git add -A
git commit -m "Version bump" git commit -m "Version bump"
git push 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.