From cb699ce32bc97a8d402bf109f78e27f1f9116648 Mon Sep 17 00:00:00 2001 From: Antti Aalto Date: Mon, 30 Oct 2017 17:27:50 +0200 Subject: [PATCH] Appveyor: Set proper version. --- appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 805a956ed..f224887bc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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