diff options
author | Simon Tatham <anakin@pobox.com> | 2017-01-21 17:55:53 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2017-01-21 17:55:53 +0300 |
commit | 5687a16fc1b60345c76d4f5088edc41004a3529d (patch) | |
tree | 91c0b95b6c203a054b50ce40fa233be769d70ba2 /Buildscr | |
parent | 7e14730b83d2504a454ad5dfbfb4b4f8700f4dc5 (diff) |
Make bob builds show the full source git commit hash in buildinfo.
The Windows binaries, and both Windows and Unix source archives,
output from a bob build will now include the full SHA-1 of the source
git commit in their buildinfo (hence in all the About boxes and
command-line version output).
This will be occasionally useful to me at release time (there was that
one embarrassing incident where I managed not to notice that I'd made
a release build from entirely the wrong commit), but mostly, it just
seems like an obviously useful thing to put in a general buildinfo
section now that there is one.
Diffstat (limited to 'Buildscr')
-rw-r--r-- | Buildscr | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -126,6 +126,7 @@ ifneq "$(SNAPSHOT)" "" in putty do echo '$#define SNAPSHOT' >> version.h in putty do echo '$#define TEXTVER "$(Textver)"' >> version.h in putty do echo '$#define SSHVER "$(Sshver)"' >> version.h in putty do echo '$#define BINARY_VERSION $(Winvercommas)' >> version.h +in putty do echo '$#define SOURCE_COMMIT "$(vcsfullid)"' >> version.h # Set up the extra arguments for the main Windows nmake command. The # user can define XFLAGS and MAKEARGS on the bob command line, to pass |