Commit 9d08b4b2 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

fixing sdist path

parent 2fae14d4
......@@ -11,7 +11,7 @@ services:
before_script:
- FRACTALIS_VERSION=$(grep version setup.py | grep -o "[0-9]\.[0-9]\.[0-9]")
- DOCKER_IMAGE_TAG="fractalis:$FRACTALIS_VERSION"
- SDIST=dist/fractalis-$FRACTALIS_VERSION.tar.gz
- SDIST=fractalis-$FRACTALIS_VERSION.tar.gz
stages:
- build_sdist
......@@ -34,7 +34,7 @@ build:image:
tags:
- privileged
script:
- docker build -t $DOCKER_IMAGE_TAG -f docker/Dockerfile --build-arg SDIST=$SDIST .
- docker build -t $DOCKER_IMAGE_TAG -f docker/Dockerfile --build-arg SDIST=dist/$SDIST .
- docker save $DOCKER_IMAGE_TAG -o image.tar
dependencies:
- build:sdist
......@@ -67,7 +67,7 @@ release:pypi:
image: python:3.6-alpine
script:
- pip3 install twine
- twine upload $SDIST -u $PYPI_USER -p $PYPI_PASS
- twine upload dist/$SDIST -u $PYPI_USER -p $PYPI_PASS
dependencies:
- build:sdist
only:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment