Commit 8c18fbee authored by Ned Deily's avatar Ned Deily
Browse files

bpo-27593: Revise git SCM build info. (#744) (#745)

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:05f53735, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735, ...

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

"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626ad)
(cherry picked from commit e9213d92)
parent 360c49b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment