Skip to content

Commit

Permalink
ci(azure): build version
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture committed Apr 20, 2019
1 parent f957481 commit 3a0e81f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'

Expand Down

0 comments on commit 3a0e81f

Please sign in to comment.