From 5c077db0e525b28602bebe34162d8ffd48b5f980 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 May 2023 19:56:05 +0100 Subject: [PATCH] chore(tag-release): add output message --- bin/tag-release | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/tag-release b/bin/tag-release index 61eaff5..2c1f7bd 100755 --- a/bin/tag-release +++ b/bin/tag-release @@ -5,6 +5,9 @@ set -euo pipefail commit_sha="${1:-HEAD}" tag="$(date '+%Y-%m-%d-%H.%M.%S')" +echo "Tagging commit $(git rev-parse "${commit_sha}") as ${tag}." +echo "" + # Tag the appropriate commit and push to the remote. git tag "${tag}" "${commit_sha}" git push origin "refs/tags/${tag}"