Skip to content

Commit

Permalink
fix(ci): macos sed replace
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture committed Apr 20, 2019
1 parent 705130a commit bd28048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config.*.json

.vscode
*.temp

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- script: pip install pyinstaller
name: 'pyinstaller'

- bash: envsubst < run.py > run.py
- bash: envsubst < run.py > run.py
name: replaceBuild

- script: pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- script: pip install pyinstaller
name: 'pyinstaller'

- script: sed -i -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${SYSTEM_PIPELINESTARTTIME}/$(date)/" run.py
- bash: sed -i.temp -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${SYSTEM_PIPELINESTARTTIME}/$(date)/" run.py
name: 'replaceBuild'

- script: pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
Expand Down

0 comments on commit bd28048

Please sign in to comment.