--keep-outdated has been deprecated / removed
This commit is contained in:
parent
37a4e38dc1
commit
6a85843d9f
@ -58,10 +58,13 @@ update_windows_deps:
|
|||||||
- python --version
|
- python --version
|
||||||
- pip install pipenv
|
- pip install pipenv
|
||||||
script:
|
script:
|
||||||
- pipenv lock --dev --keep-outdated
|
- cp Pipfile.lock Pipfile.lock.bak
|
||||||
|
- pipenv lock --dev
|
||||||
|
- cp Pipfile.lock Pipfile.lock.windows
|
||||||
|
- mv Pipfile.lock.bak Pipefile.lock
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- Pipfile.lock
|
- Pipfile.lock.windows
|
||||||
|
|
||||||
# commit from linux, because setting up SSH in Windows is a fucking nightmare
|
# commit from linux, because setting up SSH in Windows is a fucking nightmare
|
||||||
commit_windows_deps:
|
commit_windows_deps:
|
||||||
@ -84,8 +87,8 @@ commit_windows_deps:
|
|||||||
- git config --global user.email "ci@gitlab.com"
|
- git config --global user.email "ci@gitlab.com"
|
||||||
- git remote rm origin && git remote add origin "git@gitlab.com:${CI_PROJECT_PATH}.git"
|
- git remote rm origin && git remote add origin "git@gitlab.com:${CI_PROJECT_PATH}.git"
|
||||||
script:
|
script:
|
||||||
- dos2unix Pipfile.lock
|
- dos2unix Pipfile.lock.windows
|
||||||
- git commit -m "Updated windows deps from CI" Pipfile.lock || echo "No changes"
|
- git commit -m "Updated windows deps from CI" Pipfile.lock.windows || echo "No changes"
|
||||||
- GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push origin HEAD:$CI_COMMIT_REF_NAME
|
- GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push origin HEAD:$CI_COMMIT_REF_NAME
|
||||||
|
|
||||||
package_linux:
|
package_linux:
|
||||||
@ -119,6 +122,7 @@ package_windows:
|
|||||||
- refreshenv
|
- refreshenv
|
||||||
- python --version
|
- python --version
|
||||||
- pip install pipenv
|
- pip install pipenv
|
||||||
|
- mv Pipenv.lock.windows Pipenv.lock
|
||||||
- pipenv sync --dev
|
- pipenv sync --dev
|
||||||
script:
|
script:
|
||||||
- pipenv run pyinstaller --onefile --windowed --name "${WINDOWS_AMD64_BINARY}" -i icon.ico src/fime/main.py
|
- pipenv run pyinstaller --onefile --windowed --name "${WINDOWS_AMD64_BINARY}" -i icon.ico src/fime/main.py
|
||||||
|
Loading…
Reference in New Issue
Block a user