Fix SNAPSHOT_NAME

This commit is contained in:
Kay0u 2019-11-25 22:16:15 +09:00
parent f7e0f80820
commit 041fe631e8
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -21,6 +21,7 @@
CONTAINER_ID="ci" CONTAINER_ID="ci"
PROJECT_DIR="$CUSTOM_ENV_CI_PROJECT_DIR" PROJECT_DIR="$CUSTOM_ENV_CI_PROJECT_DIR"
PROJECT_NAME="$CUSTOM_ENV_CI_PROJECT_NAME" PROJECT_NAME="$CUSTOM_ENV_CI_PROJECT_NAME"
SNAPSHOT_NAME="$CUSTOM_ENV_SNAPSHOT_NAME"
if [ -z "$SNAPSHOT_NAME" ] if [ -z "$SNAPSHOT_NAME" ]
then then
SNAPSHOT_NAME="after-postinstall" SNAPSHOT_NAME="after-postinstall"