fix: set GitLastTag to an empty string when git-describe errors by sudoforge · Pull Request #1355 · git-bug/git-bug

@sudoforge

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

@sudoforge marked this pull request as ready for review

April 8, 2025 10:08

@sudoforge sudoforge deleted the Ie8e06360d5a4016596b96c6371ce4e32ad6a8afb branch

April 8, 2025 10:13