diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index b704108..9f01bef 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -50,7 +50,7 @@ sudo -u "$EVECTION_USER" -H git fetch --tags --force LATEST_TAG="$(sudo -u "$EVECTION_USER" -H git tag --sort=-creatordate | head -n1)" if [ -z "$LATEST_TAG" ]; then echo "No tags found in this repo — nothing to deploy." \ - "Cut and push a release tag first (e.g. git tag v1.0.0 && git push --tags)." >&2 + "Cut and push a release tag first (e.g. git tag v$(date +%Y.%m.%d) && git push --tags)." >&2 exit 1 fi CURRENT_REF="$(sudo -u "$EVECTION_USER" -H git describe --tags --exact-match 2>/dev/null || echo "none")"