mirror of
https://github.com/NewFuture/DDNS.git
synced 2022-04-19 20:24:44 +00:00
specific version for pyinstaller only in py2.7 azure-pipelines.yml
This commit is contained in:
+6
-2
@@ -31,8 +31,10 @@ jobs:
|
||||
matrix:
|
||||
Python27:
|
||||
python.version: '2.7'
|
||||
pyinstaller.version: 'pyinstaller==3.6'
|
||||
Python37:
|
||||
python.version: '3.7'
|
||||
pyinstaller.version: 'pyinstaller'
|
||||
maxParallel: 4
|
||||
|
||||
steps:
|
||||
@@ -44,7 +46,7 @@ jobs:
|
||||
- script: python -m pip install --upgrade pip
|
||||
displayName: 'Install dependencies'
|
||||
|
||||
- script: pip install pyinstaller==3.6
|
||||
- script: pip install $(pyinstaller.version)
|
||||
name: 'pyinstaller'
|
||||
|
||||
- bash: sed -i -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${BUILD_DATE}/$(date --iso-8601=seconds)/" run.py
|
||||
@@ -74,8 +76,10 @@ jobs:
|
||||
matrix:
|
||||
Python27:
|
||||
python.version: '2.7'
|
||||
pyinstaller.version: 'pyinstaller==3.6'
|
||||
Python37:
|
||||
python.version: '3.7'
|
||||
pyinstaller.version: 'pyinstaller'
|
||||
maxParallel: 4
|
||||
|
||||
steps:
|
||||
@@ -87,7 +91,7 @@ jobs:
|
||||
- script: python -m pip install --upgrade pip
|
||||
displayName: 'Install dependencies'
|
||||
|
||||
- script: pip install pyinstaller==3.6
|
||||
- script: pip install $(pyinstaller.version)
|
||||
name: 'pyinstaller'
|
||||
|
||||
- bash: sed -i.temp -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${BUILD_DATE}/$(date --iso-8601=seconds)/" run.py
|
||||
|
||||
Reference in New Issue
Block a user