Skip to content

Commit

Permalink
Update channel list for conda build
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Nov 27, 2024
1 parent 5dfabc8 commit 0a5467e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions scripts/conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,8 @@ python -m build --sdist .
VERSION=$(python -c "import $PACKAGE; print($PACKAGE._version.__version__)")
export VERSION

BK_CHANNEL=$(python -c "
import bokeh
from packaging.version import Version
if Version(bokeh.__version__).is_prerelease:
print('bokeh/label/dev')
else:
print('bokeh')
")

conda build scripts/conda/recipe-core --no-anaconda-upload --no-verify -c conda-forge -c "$BK_CHANNEL" -c pyviz --package-format 1
conda build scripts/conda/recipe-recommended --no-anaconda-upload --no-verify -c conda-forge -c "$BK_CHANNEL" -c pyviz --package-format 1
conda build scripts/conda/recipe-core --no-anaconda-upload --no-verify -c pyviz -c bokeh/label/rc -c conda-forge --package-format 1
conda build scripts/conda/recipe-recommended --no-anaconda-upload --no-verify -c pyviz -c bokeh/label/rc -c conda-forge --package-format 1

mv "$CONDA_PREFIX/conda-bld/noarch/$PACKAGE-core-$VERSION-py_0.tar.bz2" dist
mv "$CONDA_PREFIX/conda-bld/noarch/$PACKAGE-$VERSION-py_0.tar.bz2" dist

0 comments on commit 0a5467e

Please sign in to comment.