From 197eecb3b4e1e9e61dcc507a7f2a7f0420744ac5 Mon Sep 17 00:00:00 2001 From: Daryl Todosichuk Date: Mon, 28 Oct 2024 21:41:33 -0700 Subject: [PATCH] test 11.3.14 --- .github/workflows/docker-build-dev.yml | 6 ++++-- applications/scripts/datafix-ab#001.sql | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build-dev.yml b/.github/workflows/docker-build-dev.yml index ff77925..4a872ab 100644 --- a/.github/workflows/docker-build-dev.yml +++ b/.github/workflows/docker-build-dev.yml @@ -70,13 +70,15 @@ jobs: id: get_branch run: | # Get the latest merge commit message - git log -2 LATEST_MERGE_COMMIT=$(git log --merges --pretty=format:"%s" -1) + git log + # Print the latest merge commit message for debugging + echo "Latest merge commit message: $LATEST_MERGE_COMMIT" # Check if the latest merge commit matches "Merge pull request * from bcgov/*" if echo "$LATEST_MERGE_COMMIT" | grep -qE 'Merge pull request #[0-9]+ from bcgov/[^ ]+'; then # Extract the branch name - MERGED_BRANCH=$(echo "$LATEST_MERGE_COMMIT" | grep -oE 'Merge pull request #[0-9]+ from bcgov/[^ ]+' | sed 's/Merge pull request #[0-9]\+ from bcgov\///') + MERGED_BRANCH=$(echo "$LATEST_MERGE_COMMIT" | grep -oE 'from bcgov/[^ ]+' | sed 's/from bcgov\///') echo "Merged branch: $MERGED_BRANCH" echo "MERGED_BRANCH=$MERGED_BRANCH" >> $GITHUB_OUTPUT else diff --git a/applications/scripts/datafix-ab#001.sql b/applications/scripts/datafix-ab#001.sql index e030f70..840507e 100644 --- a/applications/scripts/datafix-ab#001.sql +++ b/applications/scripts/datafix-ab#001.sql @@ -1 +1 @@ -test 11.3.13 +test 11.3.14