Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

app_release value handled (#3571)

Manish Gupta46ae0f98dcf1
diff --git a/deploy/selfhost/install.sh b/deploy/selfhost/install.sh
index 3f306c559f..4e505cff9c 100755
--- a/deploy/selfhost/install.sh
+++ b/deploy/selfhost/install.sh
@@ -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
@@ -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