Add versioning information to git-archive tarballs

This commit is contained in:
Tobias Gruetzmacher 2022-09-11 13:55:31 +02:00
parent 8d30be2517
commit 1ca07e979a
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

4
.git_archival.txt Normal file
View file

@ -0,0 +1,4 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true)$
ref-names: $Format:%D$

5
.gitattributes vendored
View file

@ -1,3 +1,4 @@
.gitattributes export-ignore
.gitignore export-ignore
.git_archival.txt export-subst
.gitattributes export-ignore
.github export-ignore
.gitignore export-ignore