Make Python replace version file responsible for file writes

While the initial idea of having cmd/PS/bash actually write the changes
to file, the integration with the AppVeyor YAML just made it really
frustrating.
This commit is contained in:
Vasily
2019-04-19 22:29:21 +02:00
parent 4e781fa74a
commit 72a319bc1e
2 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ clone_depth: 1
init:
- set TAG_NAME=%APPVEYOR_REPO_TAG_NAME%
- python ./build_scripts/append_to_version_file.py $(APPVEYOR_REPO_COMMIT) > ./build_scripts/compile_version_string.txt
- python ./build_scripts/append_to_version_file.py %APPVEYOR_REPO_COMMIT%
build_script:
- python ./build_scripts/run-clang-format.py ./src -r --clang-format-executable "C:\Program Files\LLVM\bin\clang-format.exe" --color always