add version increment again
@@ -154,28 +154,27 @@ jobs:
# bump up patch if dev release finished
- # increment_minor_version:
- # name: Increment minor version after release
- # needs: release_dev
- # if: startsWith(github.ref, 'refs/tags/')
- # runs-on: ubuntu-latest
- # steps:
- # - uses: actions/checkout@v2
- # - name: Setup Gradle
- # uses: gradle/gradle-build-action@v2
- # - name: Execute Gradle to increment version
- # run: ./gradlew incrementMinor
- # - name: Commit updated version
- # uses: stefanzweifel/git-auto-commit-action@v4
- # with:
- # commit_message: Increment minor version
- # branch: master
+ increment_minor_version:
+ name: Increment minor version after release
+ needs: release_dev
+ if: startsWith(github.ref, 'refs/tags/')
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Gradle
+ uses: gradle/gradle-build-action@v2
+ - name: Execute Gradle to increment version
+ run: ./gradlew incrementMinor
+ - name: Commit updated version
+ uses: stefanzweifel/git-auto-commit-action@v4
+ with:
+ commit_message: Increment minor version
+ branch: master
# release stable version after version increment
release_stable:
name: Release new MZmine version
- needs: release_dev
- # needs: increment_minor_version
+ needs: increment_minor_version
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
