Appveyor: Set proper version.

This commit is contained in:
Antti Aalto 2017-10-30 17:27:50 +02:00
parent 38d2f1efd6
commit cb699ce32b

View file

@ -1,8 +1,5 @@
version: '{build}'
init:
- ps: Update-AppveyorBuild -Version "1.0.3-$($env:appveyor_repo_commit.substring(0,7))"
environment:
matrix:
- compiler: msys2
@ -17,6 +14,8 @@ install:
- 'pip3 install setuptools_scm'
build_script:
- 'pip3 install -e .'
- ps: $version = python3 -c 'import src.borg._version; print(src.borg._version.version)'
- ps: Update-AppveyorBuild -Version $version
- 'python3 deployment/windows/buildwin32.py'
test_script:
# python will return 0 so appveyor will pass the build