mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 23:42:00 +01:00
Only commit pubspec.yaml
This commit is contained in:
13
.github/workflows/build-release.yml
vendored
13
.github/workflows/build-release.yml
vendored
@@ -9,10 +9,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout application code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17.x
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
ruby-version: 3
|
||||
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v1
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
flutter-version: 3.16.x
|
||||
@@ -117,8 +117,9 @@ jobs:
|
||||
git config user.name Github-Actions
|
||||
git config user.email github-actions@github.com
|
||||
git checkout -b release-${{ env.VERSION }}
|
||||
git add .
|
||||
git add pubspec.yaml
|
||||
git commit -m "Bump version to $( flutter pub run cider version )"
|
||||
git tag ${{ env.VERSION }}
|
||||
git push origin --tags
|
||||
git push origin --delete ${{ env.VERSION_V }}
|
||||
git push ${{ env.VERSION }}
|
||||
git push --delete ${{ env.VERSION_V }}
|
||||
git push
|
||||
@@ -21,7 +21,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||
# - the version number is taken from the git tag vX.Y.Z
|
||||
# - the build number is computed by reading the last one from the play store
|
||||
# and increasing by one
|
||||
version: 1.6.2+37
|
||||
version: 1.6.3+38
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
|
||||
Reference in New Issue
Block a user