Skip to content

Commit

Permalink
build: creates v3 release branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Jul 16, 2024
1 parent 8647d6a commit 3e5ad26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
./scripts/docker-build.sh -p true "latest"
;;
release/2.x)
release/3.x)
CURRENT_VERSION="${{ inputs.version }}"
if [[ "${CURRENT_VERSION:0:1}" == "v" ]]; then
CURRENT_VERSION="$( echo ${CURRENT_VERSION} | cut -c 2- )"
Expand Down
6 changes: 3 additions & 3 deletions scripts/get-effective-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ if [[ "$CURRENT_BRANCH" == "develop" || "$CURRENT_BRANCH" == "main" ]]; then

else
case "$( since project version --current --log-level=info )" in
v3.*)
v4.*)
EFFECTIVE_BRANCH_NAME="main"
;;
v2.*)
EFFECTIVE_BRANCH_NAME="release/2.x"
v3.*)
EFFECTIVE_BRANCH_NAME="release/3.x"
;;
*)
EFFECTIVE_BRANCH_NAME="dev"
Expand Down

0 comments on commit 3e5ad26

Please sign in to comment.