Skip to content

Commit c41f6a0

Browse files
committed
build: update gen-and-deploy.sh to allow GIT_BRANCH override
1 parent 3704783 commit c41f6a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/gen-and-deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ gen_current_env() {
3434
done < <(grep -vE '^\s*#|^\s*$' .env)
3535
fi
3636

37-
# Generate compose file (note this is currently only for development branch)
38-
export GIT_BRANCH=development
37+
# Generate compose file (default development, but can be overridden)
38+
export GIT_BRANCH="${GIT_BRANCH:-development}"
3939
echo ""
4040
echo "Generated compose file:"
4141
echo ""

0 commit comments

Comments
 (0)