Skip to content

Commit

Permalink
nudging towards automation
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed May 17, 2019
1 parent c642323 commit f67668e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packaging.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# Packaging Hints

## Define Release

RELEASE=2020.0.0

## PyPI upload

Preceed the wildcard with tag text (`spec2nexus-1.1.1*`)::
Preceed the wildcard with tag text (`spec2nexus-${RELEASE}*`)::

python setup.py sdist bdist_wheel
twine upload dist/*
twine upload dist/spec2nexus-${RELEASE}*

## Conda upload

In the upload command below, use the text reported
at (near) the end of a successful conda build.

conda build ./conda-recipe/
anaconda upload /home/mintadmin/Apps/anaconda/conda-bld/noarch/spec2nexus-1.1.1-py_0.tar.bz2
anaconda upload /home/mintadmin/Apps/anaconda/conda-bld/noarch/spec2nexus-${RELEASE}-py*_0.tar.bz2

0 comments on commit f67668e

Please sign in to comment.