]> granicus.if.org Git - python/commit
bpo-27593: Revise git SCM build info. (#744) (#746) (#1392)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 2 May 2017 19:50:09 +0000 (21:50 +0200)
committerGitHub <noreply@github.com>
Tue, 2 May 2017 19:50:09 +0000 (21:50 +0200)
commitfd6c8bb89e834898c26620c9ab9afc6aaecb6b28
tree485a2c71340d0480e1580c75692037e3b7cc5114
parent8e158b2316385497c7b6b818d8b45855d7f87f0b
bpo-27593: Revise git SCM build info. (#744) (#746) (#1392)

Use --short form of git hash.  Use output from "git describe" for tag.

Expected outputs:
1. previous hg
2. previous git
3. updated git

Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...

Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...

"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626ada769abf82a5dabe6966afa4265acb6a6)
(cherry picked from commit ed512cba78af211da4d83cbb7cc533c39176f374)
PCbuild/pythoncore.vcxproj