From a193bc055542da41ac0e32a58e83babdf926d8c8 Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Wed, 4 Dec 2024 11:03:59 +0530 Subject: [PATCH] Update kola release workflow --- .github/workflows/publish_release_bi.yml | 24 +----------------------- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/publish_release_bi.yml b/.github/workflows/publish_release_bi.yml index 147278ef93..3f5621f825 100644 --- a/.github/workflows/publish_release_bi.yml +++ b/.github/workflows/publish_release_bi.yml @@ -25,31 +25,9 @@ jobs: uses: actions/setup-node@v1 with: node-version: '10.22.1' - - name: Clone ballerina-dev-tools - run: git clone https://github.com/ballerina-platform/ballerina-dev-tools.git - - name: Build ballerina-dev-tools - id: build-dev-tools - env: - packageUser: ${{ github.actor }} - packagePAT: ${{ secrets.GITHUB_TOKEN }} - devCentralToken: ${{ secrets.BALLERINA_CENTRAL_DEV_ACCESS_TOKEN }} - githubAccessToken: ${{ secrets.GITHUB_TOKEN }} - ballerinaBotWorkflow: $ {{ secrets.BALLERINA_BOT_WORKFLOW }} - 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 - cd .. - rm -rf ballerina-dev-tools - name: Set version env variable id: version-set run: | - sed -i "s/^devToolsVersion=.*/devToolsVersion=${{ steps.build-dev-tools.outputs.version }}/" gradle.properties - sed -i "s/^ballerinaLangVersion=.*/ballerinaLangVersion=${{ steps.build-dev-tools.outputs.langVersion }}/" gradle.properties SHORT_VERSION=$((grep -w 'version' | cut -d= -f2 | cut -d- -f1) < gradle.properties) DIST_VERSION=$((grep -w 'version' | cut -d= -f2) < gradle.properties | rev | cut --complement -d- -f1 | rev) LANG_VERSION=$((grep -w "ballerinaLangVersion" | cut -d= -f2 | cut -d- -f1 | xargs) < gradle.properties) @@ -64,7 +42,7 @@ jobs: echo "::set-output name=taggedVersion::$TAGGED_VERSION" echo "::set-output name=longVersion::$LONG_VERSION" echo "::set-output name=langVersion::$LANG_VERSION" - - name: Pre release depenency version update + - name: Pre release dependency version update env: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | diff --git a/gradle.properties b/gradle.properties index 6ba692b372..91fdca395a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ group=org.ballerinalang version=2201.11.0-SNAPSHOT codeName=swan-lake -ballerinaLangVersion=2201.11.0-20241117-133400-a3054b77 +ballerinaLangVersion=2201.11.0-20241204-102100-fc33b755 ballerinaJreVersion=3.0.0 dependencyJREVersion=jdk-21.0.5+11-jre specVersion=2024R1