Skip to content

Commit

Permalink
Build large_image and annotation plugins on release
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Jan 17, 2025
1 parent f787b31 commit c7f3f1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/release_pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,22 @@ twine ${1:-check} $( [[ "${1:-check}" == "upload" ]] && printf %s '--verbose' )
cd "$ROOTPATH/girder"
cp "$ROOTPATH/README.rst" .
cp "$ROOTPATH/LICENSE" .
# Build the client plugin code
pushd "$ROOTPATH/girder/girder_large_image/web_client/"
npm ci
npm run build
popd
python setup.py sdist
pip wheel . --no-deps -w dist
twine ${1:-check} $( [[ "${1:-check}" == "upload" ]] && printf %s '--verbose' ) dist/*
cd "$ROOTPATH/girder_annotation"
cp "$ROOTPATH/README.rst" .
cp "$ROOTPATH/LICENSE" .
# Build the client plugin code
pushd "$ROOTPATH/girder_annotation/girder_large_image_annotation/web_client/"
npm ci
npm run build
popd
python setup.py sdist
pip wheel . --no-deps -w dist
twine ${1:-check} $( [[ "${1:-check}" == "upload" ]] && printf %s '--verbose' ) dist/*
Expand Down Expand Up @@ -49,6 +59,7 @@ twine ${1:-check} $( [[ "${1:-check}" == "upload" ]] && printf %s '--verbose' )
cd "$ROOTPATH/sources/dicom"
cp "$ROOTPATH/README.rst" .
cp "$ROOTPATH/LICENSE" .
# TODO build DICOMweb plugin client code when converted
python setup.py sdist
pip wheel . --no-deps -w dist
twine ${1:-check} $( [[ "${1:-check}" == "upload" ]] && printf %s '--verbose' ) dist/*
Expand Down

0 comments on commit c7f3f1e

Please sign in to comment.