Add the git sha to version output
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
3b6cc7a7bb
commit
bea2072b95
13 changed files with 67 additions and 18 deletions
|
|
@ -47,6 +47,8 @@ virtualenv .\venv
|
|||
.\venv\Scripts\pip install --no-deps .
|
||||
.\venv\Scripts\pip install --allow-external pyinstaller -r requirements-build.txt
|
||||
|
||||
git rev-parse --short HEAD | out-file -encoding ASCII compose\GITSHA
|
||||
|
||||
# Build binary
|
||||
# pyinstaller has lots of warnings, so we need to run with ErrorAction = Continue
|
||||
$ErrorActionPreference = "Continue"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue