chore: add a reminder to push the tags

This commit is contained in:
Ivan Dyachkov 2023-03-01 17:28:52 +01:00
parent 7a154e4d58
commit 6be9967d2d
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -43,6 +43,7 @@ EOF
logerr() {
echo "$(tput setaf 1)ERROR: $1$(tput sgr0)"
}
logwarn() {
echo "$(tput setaf 3)WARNING: $1$(tput sgr0)"
}