mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 08:20:40 +00:00
Compare commits
No commits in common. "0b472b77760786128358e9a929db60814aaf6939" and "67818f7c8c2fb97e9cd706375a6f01df7af61bfd" have entirely different histories.
0b472b7776
...
67818f7c8c
2 changed files with 3 additions and 4 deletions
5
.github/workflows/cd_prod.yml
vendored
5
.github/workflows/cd_prod.yml
vendored
|
@ -109,7 +109,7 @@ jobs:
|
|||
|
||||
- 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
|
||||
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --global user.name "vodemn"
|
||||
|
@ -121,13 +121,12 @@ jobs:
|
|||
uses: CasperWA/push-protected@v2
|
||||
with:
|
||||
token: ${{ secrets.PUSH_TO_MAIN_TOKEN }}
|
||||
branch: ${{ github.ref_name }}
|
||||
branch: main
|
||||
unprotect_reviews: true
|
||||
|
||||
create-release:
|
||||
name: Create Github release
|
||||
needs: [build, update-version-in-repo]
|
||||
if: github.ref_name == 'main'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: lightmeter
|
||||
description: A new Flutter project.
|
||||
publish_to: "none"
|
||||
version: 0.11.8+30
|
||||
version: 0.11.5+28
|
||||
|
||||
environment:
|
||||
sdk: ">=3.0.0 <4.0.0"
|
||||
|
|
Loading…
Reference in a new issue