diff --git a/scripts/rel/cut.sh b/scripts/rel/cut.sh index ab63d46fe..2a1c213fe 100755 --- a/scripts/rel/cut.sh +++ b/scripts/rel/cut.sh @@ -48,6 +48,11 @@ EOF logerr() { echo "$(tput setaf 1)ERROR: $1$(tput sgr0)" } + +logwarn() { + echo "$(tput setaf 3)WARNING: $1$(tput sgr0)" +} + logmsg() { echo "INFO: $1" } @@ -275,4 +280,10 @@ else git tag --force "$DOCKER_LATEST_TAG" logmsg "$DOCKER_LATEST_TAG is created OK." fi + logwarn "Don't forget to push the tags!" + if [ "$DOCKER_LATEST" = 'yes' ]; then + echo "git push --atomic --force origin $TAG $DOCKER_LATEST_TAG" + else + echo "git push origin $TAG" + fi fi diff --git a/scripts/rel/sync-remotes.sh b/scripts/rel/sync-remotes.sh index 7f7c2885d..eddce0cd7 100755 --- a/scripts/rel/sync-remotes.sh +++ b/scripts/rel/sync-remotes.sh @@ -43,6 +43,7 @@ EOF logerr() { echo "$(tput setaf 1)ERROR: $1$(tput sgr0)" } + logwarn() { echo "$(tput setaf 3)WARNING: $1$(tput sgr0)" }