diff --git a/.github/workflows/docker-build-main.yml b/.github/workflows/docker-build-main.yml index b9303c5..43463c1 100644 --- a/.github/workflows/docker-build-main.yml +++ b/.github/workflows/docker-build-main.yml @@ -97,11 +97,11 @@ jobs: UGM_DEPLOY_VERSION=$(gh variable get UGM_BUILD_VERSION --env test) gh variable set UGM_BUILD_VERSION --env main --body "$UGM_DEPLOY_VERSION" elif [[ "${{ needs.Branch.outputs.MERGED_BRANCH }}" == hotfix/* ]]; then - # Extract the major.minor.patch version parts using grep - MAJOR_VERSION=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '^[0-9]+') - MINOR_VERSION=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '\.[0-9]+\.' | grep -oE '[0-9]+') - VERSION_PATCH=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '[0-9]+$') - echo "Incrementing patch version for hotfix release" + # Extract the major.minor.patch version parts using grep + MAJOR_VERSION=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '^[0-9]+') + MINOR_VERSION=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '\.[0-9]+\.' | grep -oE '[0-9]+') + VERSION_PATCH=$(echo "${{env.UGM_BUILD_VERSION}}" | grep -oE '[0-9]+$') + echo "Incrementing patch version for hotfix release" VERSION_PATCH=$((VERSION_PATCH + 1)) UGM_DEPLOY_VERSION="$MAJOR_VERSION.$MINOR_VERSION.$VERSION_PATCH" fi diff --git a/applications/scripts/datafix-ab#001.sql b/applications/scripts/datafix-ab#001.sql index 4232986..09b099d 100644 --- a/applications/scripts/datafix-ab#001.sql +++ b/applications/scripts/datafix-ab#001.sql @@ -1 +1 @@ -test 14 +test 14.3 diff --git a/applications/scripts/datafix-ab#002.sql b/applications/scripts/datafix-ab#002.sql index ff6be8e..e69de29 100644 --- a/applications/scripts/datafix-ab#002.sql +++ b/applications/scripts/datafix-ab#002.sql @@ -1 +0,0 @@ -test 14.2