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
This commit is contained in:
Vasily
2019-04-19 22:29:21 +02:00
parent 72a319bc1e
commit 3d13c68303
+1 -1
View File
@@ -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"