Skip to content

Commit ecc1c7b

Browse files
committed
Use git export-subst for versioning when not in git repo.
Add .VERSION file that is automatically populated by `git archive` setting version info when not in an active git repository. Useful when downloading a tarball.
1 parent d060a67 commit ecc1c7b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$Format%d$

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.VERSION export-subst

0 commit comments

Comments
 (0)