diff options
author | Freya Murphy <freya@freyacat.org> | 2025-08-29 15:22:03 +0000 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-08-29 15:22:03 +0000 |
commit | 015bbfdea01abe0ae9004ae5658b239af3ad1b81 (patch) | |
tree | 705a0aa61d58b14da9890a46e53eb6afa1933474 | |
parent | git: update to v2.51.0 (diff) | |
download | cgit-015bbfdea01abe0ae9004ae5658b239af3ad1b81.tar.gz cgit-015bbfdea01abe0ae9004ae5658b239af3ad1b81.tar.bz2 cgit-015bbfdea01abe0ae9004ae5658b239af3ad1b81.zip |
update VERSION
-rwxr-xr-x | gen-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen-version.sh b/gen-version.sh index 80cf49a..33681eb 100755 --- a/gen-version.sh +++ b/gen-version.sh @@ -6,7 +6,7 @@ V=$1 # Use `git describe` to get current version if we're inside a git repo if test "$(git rev-parse --git-dir 2>/dev/null)" = '.git' then - V=$(git describe --abbrev=4 HEAD 2>/dev/null) + V=$(git describe --abbrev=0 HEAD 2>/dev/null)-freya fi new="CGIT_VERSION = $V" |