From 3d13c683034f19f594b079d9eb257c15307944e7 Mon Sep 17 00:00:00 2001 From: Vasily Date: Fri, 19 Apr 2019 18:44:38 +0200 Subject: [PATCH] Move AppVeyor version string script to build section It does not work in the init section for some reason, with python giving python .\\build_scripts\\append_to_version_file.py %APPVEYOR_REPO_COMMIT% python: can't open file '.\\build_scripts\\append_to_version_file.py': [Errno 2] No such file or directory --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index f4dcbb0..ec33e2c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -26,9 +26,9 @@ clone_depth: 1 init: - set TAG_NAME=%APPVEYOR_REPO_TAG_NAME% - - python ./build_scripts/append_to_version_file.py %APPVEYOR_REPO_COMMIT% build_script: + - python ./build_scripts/append_to_version_file.py %APPVEYOR_REPO_COMMIT% - python ./build_scripts/run-clang-format.py ./src -r --clang-format-executable "C:\Program Files\LLVM\bin\clang-format.exe" --color always - call "build_windows.cmd"