mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
use info instead of echo
This commit is contained in:
parent
c42b2ac6e9
commit
9c14394744
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ DEBIAN_VERSION=$(echo $CUSTOM_ENV_CI_COMMIT_REF_NAME | cut -d'-' -f1) # CUSTOM_E
|
||||||
if [ -z "$DEBIAN_VERSION" ] || [ "$DEBIAN_VERSION" != "stretch" ] && [ "$DEBIAN_VERSION" != "buster" ]
|
if [ -z "$DEBIAN_VERSION" ] || [ "$DEBIAN_VERSION" != "stretch" ] && [ "$DEBIAN_VERSION" != "buster" ]
|
||||||
then
|
then
|
||||||
DEBIAN_VERSION="$(echo $CUSTOM_ENV_CI_DEFAULT_BRANCH | cut -d'-' -f1)" # stretch-unstable, buster-unstable...
|
DEBIAN_VERSION="$(echo $CUSTOM_ENV_CI_DEFAULT_BRANCH | cut -d'-' -f1)" # stretch-unstable, buster-unstable...
|
||||||
echo "Use the default debian version: $DEBIAN_VERSION"
|
info "Use the default debian version: $DEBIAN_VERSION"
|
||||||
fi
|
fi
|
||||||
SNAPSHOT_NAME="$CUSTOM_ENV_CI_JOB_IMAGE"
|
SNAPSHOT_NAME="$CUSTOM_ENV_CI_JOB_IMAGE"
|
||||||
if [ -z "$SNAPSHOT_NAME" ]
|
if [ -z "$SNAPSHOT_NAME" ]
|
||||||
|
|
Loading…
Reference in a new issue