summaryrefslogtreecommitdiffstatshomepage
path: root/commands/comment_add.go
diff options
context:
space:
mode:
authorsudoforge <no-reply@sudoforge.com>2025-04-08 03:13:05 -0700
committerGitHub <noreply@github.com>2025-04-08 03:13:05 -0700
commit25f755cb588dfbb1834f0c8630ae9a4c448e494f (patch)
treecba2539b2ad21801894d12bf8c730f803941d698 /commands/comment_add.go
parenta987d09460a5a1896e806a0dedf627d5af26408d (diff)
downloadgit-bug-25f755cb588dfbb1834f0c8630ae9a4c448e494f.tar.gz
git-bug-25f755cb588dfbb1834f0c8630ae9a4c448e494f.zip
fix: set GitLastTag to an empty string when git-describe errors (#1355)
This change refactors the call to `git-describe` made in `//:Makefile`, such that if the call made to populate the `GitLastTag` build argument fails for any reason, the value is an empty string. This resolves a fairly common situation in CI, and reproducible elsewhere, if the local repository does not have any tags. Change-Id: Ie8e06360d5a4016596b96c6371ce4e32ad6a8afb
Diffstat (limited to 'commands/comment_add.go')
0 files changed, 0 insertions, 0 deletions