mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-19 16:15:45 +00:00
ci(azure): build version
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user