Skip to content

Commit

Permalink
test 8.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DarylTodosichuk committed Oct 27, 2024
1 parent 61a894e commit c79238b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/docker-build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,18 @@ jobs:
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]+$')
# Increment version elements
# Echo the current version
echo "${{env.UGM_RELEASE_PREFIX}}$MAJOR_VERSION.$MINOR_VERSION.$VERSION_PATCH"
VERSION_PATCH=$((VERSION_PATCH + 1))
#
# If main patch is from test use test versions
# If main patch is from hotfix branch/tag increment patch
#
# Check the merged branch and set versions accordingly
if [[ "${{ needs.Branch.outputs.MERGED_BRANCH }}" == "test" ]]; then
echo "Using test versions"
# Set test versions here
UNITY_BUILD_VERSION="test-version"
elif [[ "${{ needs.Branch.outputs.MERGED_BRANCH }}" == hotfix/* ]]; then
echo "Incrementing patch version for hotfix"
VERSION_PATCH=$((VERSION_PATCH + 1))
fi
# Echo the updated version
echo "${{env.UGM_RELEASE_PREFIX}}$MAJOR_VERSION.$MINOR_VERSION.$VERSION_PATCH"
# Prepare tags
echo "TAGNAME=${{env.UGM_RELEASE_PREFIX}}${MAJOR_VERSION}.${MINOR_VERSION}.${VERSION_PATCH}" >> $GITHUB_OUTPUT
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 8.5
test 8.5.1
9 changes: 0 additions & 9 deletions applications/scripts/datafix-ab#006.sql

This file was deleted.

0 comments on commit c79238b

Please sign in to comment.