Skip to content

Commit

Permalink
fix: correct java version
Browse files Browse the repository at this point in the history
We need to strip the leading 'v'
  • Loading branch information
stuartwdouglas committed Sep 20, 2024
1 parent 31aa71d commit 383e083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
- name: Set Version
working-directory: ./jvm-runtime/ftl-runtime
run: mvn versions:set -DnewVersion=${{ github.ref_name }}
run: mvn versions:set -DnewVersion=$(echo ${{ github.ref_name }} | sed s/v//)

Check failure on line 158 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / Lint

shellcheck reported issue in this script: SC2046:warning:1:31: Quote this to prevent word splitting [shellcheck]

- name: Build, Test, and Deploy to Maven Central
working-directory: ./jvm-runtime/ftl-runtime
Expand Down

0 comments on commit 383e083

Please sign in to comment.