Commit babab7c
committed
Makefile: source RELEASE.txt when git fails
With commits 31f64b8 and 714dfbe and recently released Git v2.32 we
create a file RELEASE.txt that contains GIT_COMMIT and VERSION
variables. This should happen automatically when GitHub creates the
release archive or git-archive(1) is invoked directly.
To test, create an archive
$ git archive --format=tar HEAD | gzip >gscloud.tar.gz
extract it and run make. The version strings produced by
$ gscloud version
should match those for the original repository.
Fixes #131.1 parent dba873c commit babab7c
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
0 commit comments