From a4f8032648f137511bb2e842869f1aa6a698be92 Mon Sep 17 00:00:00 2001 From: vibhutikumar <160819926+vibhutikumar07@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:51:58 +0530 Subject: [PATCH 1/3] Update main-build-and-deploy-oss.yml --- .github/workflows/main-build-and-deploy-oss.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-build-and-deploy-oss.yml b/.github/workflows/main-build-and-deploy-oss.yml index e21795f1..bcfc23d4 100644 --- a/.github/workflows/main-build-and-deploy-oss.yml +++ b/.github/workflows/main-build-and-deploy-oss.yml @@ -8,10 +8,13 @@ on: release: types: [ "released" ] +permissions: + contents: read + jobs: update-version: - environment: maven-central + #environment: maven-central runs-on: ubuntu-latest #needs: blackduck steps: @@ -86,8 +89,10 @@ jobs: deploy: name: Deploy to Maven Central + environment: maven-central runs-on: ubuntu-latest needs: build + timeout-minutes: 30 steps: - name: Download artifact uses: actions/download-artifact@v7 From d38c44c462ad7076418718454457071e9e50489b Mon Sep 17 00:00:00 2001 From: vibhutikumar <160819926+vibhutikumar07@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:53:34 +0530 Subject: [PATCH 2/3] Update action.yml --- .github/actions/newrelease/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/newrelease/action.yml b/.github/actions/newrelease/action.yml index f3d1c026..bf4b413a 100644 --- a/.github/actions/newrelease/action.yml +++ b/.github/actions/newrelease/action.yml @@ -28,14 +28,14 @@ runs: - name: Update version run: | VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') - echo $VERSION > cap-notebook/version.txt + echo $VERSION > app/single-tenant/central-space/demoapp/version.txt mvn --no-transfer-progress versions:set-property -Dproperty=revision -DnewVersion=$VERSION #chmod +x ensure-license.sh #./ensure-license.sh git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git checkout -b Release_v1.10.0 - git add cap-notebook/version.txt + git add app/single-tenant/central-space/demoapp/version.txt git commit -am "Update version to $VERSION" git push --set-upstream origin Release_v1.10.0 shell: bash From f0db60b2ade65a5cfb9a26df4e5bb45d4838e075 Mon Sep 17 00:00:00 2001 From: vibhutikumar <160819926+vibhutikumar07@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:57:49 +0530 Subject: [PATCH 3/3] Update action.yml --- .github/actions/newrelease/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/newrelease/action.yml b/.github/actions/newrelease/action.yml index bf4b413a..f3d1c026 100644 --- a/.github/actions/newrelease/action.yml +++ b/.github/actions/newrelease/action.yml @@ -28,14 +28,14 @@ runs: - name: Update version run: | VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') - echo $VERSION > app/single-tenant/central-space/demoapp/version.txt + echo $VERSION > cap-notebook/version.txt mvn --no-transfer-progress versions:set-property -Dproperty=revision -DnewVersion=$VERSION #chmod +x ensure-license.sh #./ensure-license.sh git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git checkout -b Release_v1.10.0 - git add app/single-tenant/central-space/demoapp/version.txt + git add cap-notebook/version.txt git commit -am "Update version to $VERSION" git push --set-upstream origin Release_v1.10.0 shell: bash