ci(azure): build version

This commit is contained in:
New Future
2019-04-20 19:26:54 +08:00
parent f957481b69
commit 3a0e81f5d0
+6
View File
@@ -40,6 +40,9 @@ jobs:
- script: pip install pyinstaller
name: 'pyinstaller'
- bash: envsubst < run.py > run.py
name: ReplaceVersion
- script: pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
name: 'build'
@@ -81,6 +84,9 @@ jobs:
- script: pip install pyinstaller
name: 'pyinstaller'
- script: sed -i -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${SYSTEM_PIPELINESTARTTIME}/$(date)/" run.py
name: 'replaceBuild'
- script: pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
name: 'build'