Skip to content

Commit

Permalink
MNT #524
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jul 22, 2021
1 parent 3140d07 commit 0d3a7a2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# publish this package
# Run this from the package's root directory.

# conda create -n build anaconda conda-build twine
conda activate build

## Define the release

STARTED=$(date)
Expand Down Expand Up @@ -55,7 +58,13 @@ echo "# ($(date)) Building for upload to conda"
export CONDA_BLD_PATH=/tmp/conda-bld
/bin/mkdir -p ${CONDA_BLD_PATH}

conda build ./conda-recipe/
export CONDA_BUILD_OPTIONS=
export CONDA_BUILD_OPTIONS+=" -c defaults"
export CONDA_BUILD_OPTIONS+=" -c conda-forge"
export CONDA_BUILD_OPTIONS+=" -c nsls2forge"
export CONDA_BUILD_OPTIONS+=" -c aps-anl-tag"

conda build ${CONDA_BUILD_OPTIONS} ./conda-recipe/
echo "# ($(date)) Built for conda"

echo "# ($(date)) - - - - - - - - - - - - - - - - - - - - - - upload conda"
Expand Down

0 comments on commit 0d3a7a2

Please sign in to comment.