From 1a5af781c8eec20aad20aa4a5b3c0f3b5080126b Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Fri, 20 Sep 2024 14:52:36 +1000 Subject: [PATCH] fix: correct java version (#2752) We need to strip the leading 'v' --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c59a979d60..fe71eeb08a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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//)" - name: Build, Test, and Deploy to Maven Central working-directory: ./jvm-runtime/ftl-runtime