Skip to content

Commit

Permalink
app_release value handled (#3571)
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub authored Feb 6, 2024
1 parent 30aaec9 commit 46ae0f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deploy/selfhost/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function buildLocalImage() {
cd $PLANE_TEMP_CODE_DIR
if [ "$BRANCH" == "master" ];
then
APP_RELEASE=latest
export APP_RELEASE=latest
fi

docker compose -f build.yml build --no-cache >&2
Expand Down Expand Up @@ -205,6 +205,11 @@ else
PULL_POLICY=never
fi

if [ "$BRANCH" == "master" ];
then
export APP_RELEASE=latest
fi

# REMOVE SPECIAL CHARACTERS FROM BRANCH NAME
if [ "$BRANCH" != "master" ];
then
Expand Down

0 comments on commit 46ae0f9

Please sign in to comment.