From ebfa1b3b58ccbb8003abcb55b2d7a55f32275b76 Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:09:35 -0500 Subject: [PATCH] Update publish.servicenow.plugin.yml --- .github/workflows/publish.servicenow.plugin.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.servicenow.plugin.yml b/.github/workflows/publish.servicenow.plugin.yml index 716dc853..af56419e 100644 --- a/.github/workflows/publish.servicenow.plugin.yml +++ b/.github/workflows/publish.servicenow.plugin.yml @@ -42,7 +42,7 @@ jobs: if: ${{ false }} # disable for now run: | TAG="${{ github.event.inputs.tagname }}" - GRADLE_CFG=./build.gradle + GRADLE_CFG=./build.gradle.kts BUILD_VERSION=`fgrep version $GRADLE_CFG | sed -r 's/^version\s+//g' | sed 's/"//g'` if [[ "$TAG" == *"-$BUILD_VERSION"* ]]; then echo "Build version $BUILD_VERSION is included in the tag $TAG" @@ -71,7 +71,7 @@ jobs: buildroot=`pwd` chmod u+x ${buildroot}/gradlew - gradlecfg=${buildroot}/build.gradle + gradlecfg=${buildroot}/build.gradle.kts buildname=`fgrep archivesName ${gradlecfg} | sed -r 's/^\s*archivesName\s*=\s*//g' | sed 's/"//g'` buildversion=`fgrep version ${gradlecfg} | sed -r 's/^version\s+//g' | sed 's/"//g'` @@ -119,7 +119,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | TAG="${{ github.event.inputs.tagname }}" - GRADLE_CFG=./build.gradle + GRADLE_CFG=./build.gradle.kts BUILD_NAME=`fgrep archivesName $GRADLE_CFG | sed -r 's/^\s*archivesName\s*=\s*//g' | sed 's/"//g'` BUILD_VERSION=`fgrep version $GRADLE_CFG | sed -r 's/^version\s+//g' | sed 's/"//g'` RELEASE_NAME=${BUILD_NAME}-${BUILD_VERSION}.jar