diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 7a8f95c9..92576d17 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -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 }} \ No newline at end of file + git push ${{ env.VERSION }} + git push --delete ${{ env.VERSION_V }} + git push \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 58c2c9b0..611fe968 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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'