From ec7170ea423896e60c8d6b77da40f7d118add12e Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 3 Feb 2020 23:58:25 +0100 Subject: [PATCH] CI Hotfix --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 933cf08..c67adf4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ build_docker: build_wheel: stage: build script: - - python3.6 setup.py egg_info bdist_wheel + - python3.7 setup.py egg_info bdist_wheel - cd dist - sha256sum *.whl > SHA256SUMS artifacts: @@ -71,16 +71,16 @@ build_debian: - gzip -9n package/debian/matemat/usr/share/doc/matemat/changelog - cp -r static/ package/debian/matemat/usr/lib/matemat/static/ - cp -r templates/ package/debian/matemat/usr/lib/matemat/templates/ - - python3.6 setup.py egg_info install --root=package/debian/matemat/ --prefix=/usr --optimize=1 + - python3.7 setup.py egg_info install --root=package/debian/matemat/ --prefix=/usr --optimize=1 - cd package/debian - mkdir -p matemat/usr/lib/python3/dist-packages/ - - rsync -a matemat/usr/lib/python3.6/site-packages/ matemat/usr/lib/python3/dist-packages/ - - rm -rf matemat/usr/lib/python3.6/ + - rsync -a matemat/usr/lib/python3.7/site-packages/ matemat/usr/lib/python3/dist-packages/ + - rm -rf matemat/usr/lib/python3.7/ - find matemat/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true - find matemat/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \; - mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat - rm -rf matemat/usr/bin - - sed -re 's$#!/usr/local/bin/python3.6$#!/usr/bin/python3$' -i matemat/usr/lib/matemat/matemat + - sed -re 's$#!/usr/local/bin/python3.7$#!/usr/bin/python3$' -i matemat/usr/lib/matemat/matemat - find matemat -type f -exec chmod 0644 {} \; - find matemat -type d -exec chmod 755 {} \; - chmod +x matemat/usr/lib/matemat/matemat matemat/DEBIAN/postinst matemat/DEBIAN/prerm matemat/DEBIAN/postrm