diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f3ef3a0d..b95ea8e7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: echo RELEASE_VERSION="${RELEASE_VERSION}" >> $GITHUB_OUTPUT - name: Publish Release run: | - ./gradlew test final $GRADLE_ARGS + ./gradlew test artifactoryPublish $GRADLE_ARGS BUILD_NUMBER=$(./gradlew -Prelease.useLastTag=true $GRADLE_ARGS printVersion|grep VERSION|awk -F: '{print $2}') echo "Running build scan against $BUILD_NUMBER" jfrog rt bs "kork" "$BUILD_NUMBER" $JFROG_ARGS