Skip to content

Commit

Permalink
Update publish.servicenow.plugin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
idimov-keeper authored Sep 18, 2024
1 parent 608877d commit ebfa1b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.servicenow.plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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'`
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ebfa1b3

Please sign in to comment.