# Git hook for pre-tag?

1 messages from 2025-05-27 to 2025-05-27. Participants: RocketDev.
Thread: https://gitlist.dev/t/63533

## RocketDev, 2025-05-27 17:57

Subject: Git hook for pre-tag?
Message-ID: <SY0P300MB09101E749C9BFA924E8275B2EE64A@SY0P300MB0910.AUSP300.PROD.OUTLOOK.COM>
URL: https://gitlist.dev/e/SY0P300MB09101E749C9BFA924E8275B2EE64A%40SY0P300MB0910.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 
```
