[ci] Just use whatever python version under windows
This commit is contained in:
parent
93a709c565
commit
e55a8fee36
@ -24,8 +24,6 @@ prepare:
|
|||||||
before_script:
|
before_script:
|
||||||
- pip install setuptools_scm>=6.2
|
- pip install setuptools_scm>=6.2
|
||||||
script:
|
script:
|
||||||
- PYTHON_VERSION=$(python --version | cut -d " " -f2)
|
|
||||||
- echo "PYTHON_VERSION=${PYTHON_VERSION}" | tee -a build.env
|
|
||||||
- VERSION=$(python -m setuptools_scm)
|
- VERSION=$(python -m setuptools_scm)
|
||||||
- echo "VERSION=${VERSION}" | tee -a build.env
|
- echo "VERSION=${VERSION}" | tee -a build.env
|
||||||
- echo "LINUX_AMD64_BINARY=fime_linux_amd64_${VERSION}" | tee -a build.env
|
- echo "LINUX_AMD64_BINARY=fime_linux_amd64_${VERSION}" | tee -a build.env
|
||||||
@ -52,11 +50,9 @@ update_windows_deps:
|
|||||||
- Pipfile
|
- Pipfile
|
||||||
- Pipfile.lock
|
- Pipfile.lock
|
||||||
when: always
|
when: always
|
||||||
needs:
|
|
||||||
- prepare
|
|
||||||
before_script:
|
before_script:
|
||||||
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
- choco install python -y --no-progress
|
||||||
- refreshenv
|
- refreshenv
|
||||||
- python --version
|
- python --version
|
||||||
- pip install pipenv
|
- pip install pipenv
|
||||||
@ -118,7 +114,7 @@ package_windows:
|
|||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
before_script:
|
before_script:
|
||||||
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
- choco install python -y --no-progress
|
||||||
- refreshenv
|
- refreshenv
|
||||||
- python --version
|
- python --version
|
||||||
- pip install pipenv
|
- pip install pipenv
|
||||||
|
Loading…
Reference in New Issue
Block a user