Skip to content

Commit

Permalink
Use git export-subst for versioning when not in git repo.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dopey committed Feb 19, 2019
1 parent d060a67 commit ecc1c7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$Format%d$
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.VERSION export-subst

0 comments on commit ecc1c7b

Please sign in to comment.