From 580b8fb6d504014b5ff72d96e3f54df966406b0d Mon Sep 17 00:00:00 2001 From: Krishnananthalingam Tharmigan <63336800+TharmiganK@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:55:24 +0530 Subject: [PATCH 1/5] Fix post release PR step --- .github/workflows/publish-ballerina-to-openapi.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-ballerina-to-openapi.yml b/.github/workflows/publish-ballerina-to-openapi.yml index 03b354488..2652b14cd 100644 --- a/.github/workflows/publish-ballerina-to-openapi.yml +++ b/.github/workflows/publish-ballerina-to-openapi.yml @@ -44,5 +44,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | - curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 - bin/hub pull-request -m "[Automated] Sync master after ballerina-to-openapi:$VERSION release" + git checkout -b ballerina-to-openapi:$VERSION + git push origin ballerina-to-openapi:$VERSION + gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync ${GITHUB_REF##*/} after ballerina-to-openapi:$VERSION release" --body "Sync ${GITHUB_REF##*/} after Ballerina to OpenAPI - $VERSION release" From ac200537688f28d4c77355c2ca9bbacd2b180f0a Mon Sep 17 00:00:00 2001 From: Krishnananthalingam Tharmigan <63336800+TharmiganK@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:57:00 +0530 Subject: [PATCH 2/5] Apply suggestions from code review --- .github/workflows/publish-ballerina-to-openapi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-ballerina-to-openapi.yml b/.github/workflows/publish-ballerina-to-openapi.yml index 2652b14cd..61ac42186 100644 --- a/.github/workflows/publish-ballerina-to-openapi.yml +++ b/.github/workflows/publish-ballerina-to-openapi.yml @@ -44,6 +44,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | - git checkout -b ballerina-to-openapi:$VERSION - git push origin ballerina-to-openapi:$VERSION + git checkout -b ballerina-to-openapi-release:$VERSION + git push origin ballerina-to-openapi-release:$VERSION gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync ${GITHUB_REF##*/} after ballerina-to-openapi:$VERSION release" --body "Sync ${GITHUB_REF##*/} after Ballerina to OpenAPI - $VERSION release" From 2790e71857226d983102bc246601a30755742803 Mon Sep 17 00:00:00 2001 From: Krishnananthalingam Tharmigan <63336800+TharmiganK@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:13:32 +0530 Subject: [PATCH 3/5] Remove duplicate branch creation --- .github/workflows/publish-ballerina-to-openapi.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-ballerina-to-openapi.yml b/.github/workflows/publish-ballerina-to-openapi.yml index 61ac42186..b4fc8a73f 100644 --- a/.github/workflows/publish-ballerina-to-openapi.yml +++ b/.github/workflows/publish-ballerina-to-openapi.yml @@ -44,6 +44,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | - git checkout -b ballerina-to-openapi-release:$VERSION - git push origin ballerina-to-openapi-release:$VERSION - gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync ${GITHUB_REF##*/} after ballerina-to-openapi:$VERSION release" --body "Sync ${GITHUB_REF##*/} after Ballerina to OpenAPI - $VERSION release" + git push origin ballerina-to-openapi-release:${VERSION} + gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync ${GITHUB_REF##*/} after ballerina-to-openapi:${VERSION} release" --body "Sync ${GITHUB_REF##*/} after Ballerina to OpenAPI - ${VERSION} release" From aaa4318a613aab6faa7068f88aca2733c729c6a6 Mon Sep 17 00:00:00 2001 From: Krishnananthalingam Tharmigan <63336800+TharmiganK@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:16:14 +0530 Subject: [PATCH 4/5] Update branch name --- .github/workflows/publish-ballerina-to-openapi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-ballerina-to-openapi.yml b/.github/workflows/publish-ballerina-to-openapi.yml index b4fc8a73f..b7d763436 100644 --- a/.github/workflows/publish-ballerina-to-openapi.yml +++ b/.github/workflows/publish-ballerina-to-openapi.yml @@ -44,5 +44,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | - git push origin ballerina-to-openapi-release:${VERSION} + git push origin ballerina-to-openapi-release-${VERSION} gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync ${GITHUB_REF##*/} after ballerina-to-openapi:${VERSION} release" --body "Sync ${GITHUB_REF##*/} after Ballerina to OpenAPI - ${VERSION} release" From 73593c2734fcb9deb1c66ba3cb9218c13cd38319 Mon Sep 17 00:00:00 2001 From: ballerina-bot Date: Tue, 20 Aug 2024 05:04:00 +0000 Subject: [PATCH 5/5] Move dependencies to stable version --- gradle.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 56dfe5050..df4e64e9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.caching=true group=io.ballerina version=2.1.0-SNAPSHOT -ballerinaToOpenAPIVersion=2.1.0-SNAPSHOT +ballerinaToOpenAPIVersion=2.1.0 # Client Native Version clientNativeVersion=1.0.1-SNAPSHOT @@ -10,7 +10,7 @@ clientNativeVersion=1.0.1-SNAPSHOT clientNativePublish=false #dependency -ballerinaLangVersion=2201.10.0-20240814-095500-9d14866a +ballerinaLangVersion=2201.10.0 testngVersion=7.6.1 slf4jVersion=1.7.30 org.gradle.jvmargs=-Xmx4096M -Dfile.encoding=UTF-8