Skip to content

Commit 3e1084d

Browse files
committed
Improve .VERSION for git export-subst
We now have a correct abbreviated commit, a commit date and a git decribe. For example: refs=HEAD -> fix-license-dump commit=5ccc92e69cffb503e9bedc7fce5a1dbb0fd851da abbrev_commit=5ccc92e69c committer_date=2023-01-16 git_describe=v31.2.3-328-g5ccc92e69c Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent c802e1f commit 3e1084d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.VERSION

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
refs=$Format:%D$
22
commit=$Format:%H$
3-
abbrev_commit=$Format:%H$
3+
abbrev_commit=$Format:%h$
4+
committer_date=$Format:%cs$
5+
git_describe=$Format:%(describe)$

0 commit comments

Comments
 (0)