Skip to content

Commit

Permalink
Replacing version bumping again
Browse files Browse the repository at this point in the history
  • Loading branch information
sbglasius committed Dec 30, 2023
1 parent e6732c5 commit 9da7983
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,15 @@ jobs:
with:
java-version: 8
distribution: temurin
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
current_version: ${{ steps.get-latest-tag.outputs.tag }}
level: patch
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true
- name: Set version in gradle.properties
env:
NEXT_VERSION: ${{ steps.bump-semver.outputs.new_version }}
NEXT_VERSION: ${{ steps.tag_version.outputs.new_version }}
run: |
echo "Preparing next snapshot as ${NEXT_VERSION}"
./gradlew snapshotVersion -Pversion="${NEXT_VERSION}"
Expand Down

0 comments on commit 9da7983

Please sign in to comment.