chore: add a reminder to push the tags
This commit is contained in:
parent
7a154e4d58
commit
6be9967d2d
|
@ -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
|
||||
|
|
|
@ -43,6 +43,7 @@ EOF
|
|||
logerr() {
|
||||
echo "$(tput setaf 1)ERROR: $1$(tput sgr0)"
|
||||
}
|
||||
|
||||
logwarn() {
|
||||
echo "$(tput setaf 3)WARNING: $1$(tput sgr0)"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue