Skip to content

Commit

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

0 comments on commit e6732c5

Please sign in to comment.