Skip to content

Commit

Permalink
fix(ci): consider new major version as cloud (#1741)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored and bouda1 committed Oct 3, 2024
1 parent 63e9663 commit 016451f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/get-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ jobs:
GITHUB_RELEASE_CLOUD=0
GITHUB_RELEASE_TYPE=$(echo $BRANCHNAME |cut -d '-' -f 1)
if [[ "$MAJOR" == "${{ steps.latest_major_version.outputs.latest_major_version }}" ]]; then
# if current branch major version is greater or equal than the develop branch major version ==> cloud version
if [[ "$(printf '%s\n' "${{ steps.latest_major_version.outputs.latest_major_version }}" "$MAJOR" | sort -V | head -n1)" == "${{ steps.latest_major_version.outputs.latest_major_version }}" ]]; then
GITHUB_RELEASE_CLOUD=1
fi
Expand Down

0 comments on commit 016451f

Please sign in to comment.