chore(tag-release): add output message
This commit is contained in:
parent
47e2189487
commit
5c077db0e5
|
@ -5,6 +5,9 @@ set -euo pipefail
|
||||||
commit_sha="${1:-HEAD}"
|
commit_sha="${1:-HEAD}"
|
||||||
tag="$(date '+%Y-%m-%d-%H.%M.%S')"
|
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.
|
# Tag the appropriate commit and push to the remote.
|
||||||
git tag "${tag}" "${commit_sha}"
|
git tag "${tag}" "${commit_sha}"
|
||||||
git push origin "refs/tags/${tag}"
|
git push origin "refs/tags/${tag}"
|
||||||
|
|
Loading…
Reference in a new issue