Skip to content

Commit

Permalink
test 11.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
DarylTodosichuk committed Oct 29, 2024
1 parent 48bde87 commit 31edaf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ jobs:
- name: List merged branch
id: get_branch
run: |
MERGED_BRANCH=$(git log --merges --pretty=format:"%s" -1 | grep -oE 'from bcgov/[^ ]+' | sed 's/from bcgov\///')
# Get the latest merge commit message that matches "Merge pull request * from bcgov/*"
MERGED_BRANCH=$(git log --merges --pretty=format:"%s" -5 | grep -oE 'Merge pull request #[0-9]+ from bcgov/[^ ]+' | head -n 1 | sed 's/Merge pull request #[0-9]\+ from bcgov\///')
echo "Extracted MERGED_BRANCH: $MERGED_BRANCH"
# Check if a merged branch was found
if [ -z "$MERGED_BRANCH" ]; then
echo "Direct push no pull request from bcgov/branch"
echo "Direct push"
echo "MERGED_BRANCH=push" >> $GITHUB_OUTPUT
else
echo "Merged branch: $MERGED_BRANCH"
Expand Down
2 changes: 1 addition & 1 deletion applications/scripts/datafix-ab#001.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test 11.3.5
test 11.3.6

0 comments on commit 31edaf1

Please sign in to comment.