Git hook for pre-tag?
- From
- RocketDev <ma2014119@outlook.com>
- Date
- May 27, 2025, 17:57 UTC
- Message-ID
- <SY0P300MB09101E749C9BFA924E8275B2EE64A@SY0P300MB0910.AUSP300.PROD.OUTLOOK.COM>
Hi all,
I am maintaining a software repo and upgrading it by manually run git-tag. However, it bothers me a lot that sometimes I upgraded tag, but forgot updating the output of software `version` command. So I go for git-hooks, but do not find such one.
I wonder if this case (no pre-tag/post-tag hook) is by purpose, or just nobody implements it? Or maybe there are some other sorts of solutions?
Thanks in advance, RocketDev