Skip to content

Commit

Permalink
Grab correct artifact in publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
avirshup committed Nov 16, 2017
1 parent 4b6f248 commit 9e5d0ae
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions deployment/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ else
exit 1
fi

docker-make -f DockerMakefiles/DockerMake.yml \
--repo docker.io/autodesk/moldesign: \
--tag ${pyversion} \
--all \
--push --user ${DOCKERHUB_USER} --token ${DOCKERHUB_PASSWORD}

# Copy build artifacts
sdist=moldesign-${pyversion}.tar.gz
docker run moldesign_py_build:dev -v ./tmp/dists:/hostdists cp dist/${sdist} /hostdists
echo "Uploading version ${CI_BRANCH} to PyPI:"
twine upload -u ${PYPI_USER} -p ${PYPI_PASSWORD} dist/moldesign-${pyversion}.tar.gz
twine upload -u ${PYPI_USER} -p ${PYPI_PASSWORD} ./tmp/dists/moldesign-${pyversion}.tar.gz

0 comments on commit 9e5d0ae

Please sign in to comment.