diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eef64c6..89c8412 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -98,7 +98,7 @@ clean : - make -e clean when: manual -cleanup_pypirc: +cleanup_py: stage: clean when: always # this is important; run even if preceding stages failed. script: diff --git a/Makefile b/Makefile index a581a76..da9b78b 100644 --- a/Makefile +++ b/Makefile @@ -76,9 +76,7 @@ test-%: test: test-$(PYMAIN) dist/$(TARNAME): version - docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) python setup.py sdist; - docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) chmod -R a+rwx dist; - + python setup.py sdist; sdist: dist/$(TARNAME)