git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git hook for pre-tag?

From
RRocketDev <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

Message 1 of 1 in “Git hook for pre-tag?”
  1. RocketDevMay 27, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.