-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature-dev/feature-test
- Loading branch information
Showing
2 changed files
with
1 addition
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,39 +129,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: [ assemble-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.assemble-publish.outputs.app_version }} | ||
run: | | ||
git checkout -b dependency/update-assessment-api-version-${APP_VERSION} | ||
- name: Update gradle build file | ||
env: | ||
APP_VERSION: ${{ needs.assemble-publish.outputs.app_version }} | ||
run: | | ||
sed -i "s/uk.gov.laa.ccms.caab:assessment-api:[^']*/uk.gov.laa.ccms.caab:assessment-api:${APP_VERSION}/g" build.gradle | ||
- name: Commit and push changes | ||
env: | ||
APP_VERSION: ${{ needs.assemble-publish.outputs.app_version }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions Bot" | ||
git add build.gradle | ||
git commit -m "Update assessment-api version to ${APP_VERSION}" | ||
git push origin dependency/update-assessment-api-version-${APP_VERSION} | ||
gh auth login --with-token <<< "${{ secrets.REPO_TOKEN }}" | ||
gh pr create --base main --head dependency/update-assessment-api-version-${APP_VERSION} --title "Update assessment-api version to ${APP_VERSION}" --body "Automatic PR raised by GitHub Actions to update assessment-api version to ${APP_VERSION}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
version=0.0.26-SNAPSHOT | ||
version=0.0.27-SNAPSHOT | ||
group='uk.gov.laa.ccms' |