From 089df3a73b2e7a45d0643988affd7d907a71c2db Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Tue, 29 Oct 2024 15:20:01 +0530 Subject: [PATCH] Remove snapshot from version --- .github/workflows/publish_release_bi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish_release_bi.yml b/.github/workflows/publish_release_bi.yml index e5b2156780..001bbf6314 100644 --- a/.github/workflows/publish_release_bi.yml +++ b/.github/workflows/publish_release_bi.yml @@ -45,6 +45,8 @@ jobs: TEST_MODE_ACTIVE: true run: | cd ballerina-dev-tools + VERSION=$((grep -w 'version' | cut -d= -f2 | cut -d- -f1) < gradle.properties) + sed -i "s/^version=.*/version=$VERSION/" gradle.properties echo "::set-output name=version::$(grep "^version=" gradle.properties | cut -d'=' -f2)" echo "::set-output name=langVersion::$(grep "^ballerinaLangVersion=" gradle.properties | cut -d'=' -f2)" ./gradlew clean build --stacktrace --scan -x test --console=plain --no-daemon --continue publishToMavenLocal