From bf64d0c6202867ca274508f111e2f9f5cb2b1ca0 Mon Sep 17 00:00:00 2001 From: farrell-m <168534673+farrell-m@users.noreply.github.com> Date: Thu, 6 Feb 2025 14:12:19 +0000 Subject: [PATCH 1/3] remove version update step (#148) --- .github/workflows/on-tag.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/.github/workflows/on-tag.yml b/.github/workflows/on-tag.yml index dbb1916b..54cd4ede 100644 --- a/.github/workflows/on-tag.yml +++ b/.github/workflows/on-tag.yml @@ -144,39 +144,3 @@ jobs: git add . git commit -m "update appVersion to ${{ env.REPO_NAME }}-${{ env.APP_VERSION }}" git push origin - - update-laa-ccms-caab-ui: - needs: [ build-test-publish, define-image-tag ] - runs-on: ubuntu-latest - steps: - - name: Checkout caab-ui repo - uses: actions/checkout@v3 - with: - repository: ministryofjustice/laa-ccms-caab - ref: main - token: ${{ secrets.REPO_TOKEN }} - - - name: Create a new branch - env: - APP_VERSION: ${{ needs.build-test-publish.outputs.app_version }} - run: | - git checkout -b dependency/update-data-api-version-${APP_VERSION} - - - name: Update gradle build file - env: - APP_VERSION: ${{ needs.build-test-publish.outputs.app_version }} - run: | - sed -i "s/uk.gov.laa.ccms.data:data-api:[^']*/uk.gov.laa.ccms.data:data-api:${APP_VERSION}/g" build.gradle - - - name: Commit and push changes - env: - APP_VERSION: ${{ needs.build-test-publish.outputs.app_version }} - run: | - git config --global user.email "github@justice.gov.uk" - git config --global user.name "GitHub Actions Bot" - git add build.gradle - git commit -m "Update data-api version to ${APP_VERSION}" - git push origin dependency/update-data-api-version-${APP_VERSION} - - gh auth login --with-token <<< "${{ secrets.REPO_TOKEN }}" - gh pr create --base main --head dependency/update-data-api-version-${APP_VERSION} --title "Update data-api version to ${APP_VERSION}" --body "Automatic PR raised by GitHub Actions to update data-api version to ${APP_VERSION}" From efbb543afecab4110eadfd8d8c54b677d9765de0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Thu, 6 Feb 2025 14:15:22 +0000 Subject: [PATCH 2/3] [Gradle Release Plugin] - pre tag commit: 'laa-ccms-caab-ebs-api-0.0.37'. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 621cef7a..2029555f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=0.0.37-SNAPSHOT +version=0.0.37 group='uk.gov.laa.ccms' repositoryName=laa-ccms-data-api \ No newline at end of file From 8a38cc85a06340e12f61c423332d7cfa68bf7ab8 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Thu, 6 Feb 2025 14:15:23 +0000 Subject: [PATCH 3/3] [Gradle Release Plugin] - new version commit: 'laa-ccms-caab-ebs-api-0.0.38-SNAPSHOT'. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 2029555f..b8a2b733 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=0.0.37 +version=0.0.38-SNAPSHOT group='uk.gov.laa.ccms' repositoryName=laa-ccms-data-api \ No newline at end of file