Download mamba-forge
mamba create -y -n mobie-dev -c conda-forge openjdk=8 jgo pip maven blosc
- cd to the main folder of mobie-viewer-fiji
- ./install.sh
- ./mobie-files -r "/Users/tischer/Documents/mobie/src/test/resources/input/skimage-2d-tiff/" -i "image.tif" -l "segmentation.tif" -t "table.tsv"
- mvn install current version (could be a SNAPSHOT)
- hardcode this version in
__init__.py
: e.g.,_artifactVersion = '3.2.0-SNAPSHOT' #version("mobie")
continue as in test locally
This is not needed for local testing.
Example for version 3.0.11
:
Within the mobie Java code change the versions here:
@CommandLine.Command(name = "mobie", mixinStandardHelpOptions = true, version = "3.0.11", description = "Visualise multi-modal big image data, see https://mobie.github.io/")
Use the below lines to make a maven release:
mamba activate mobie-dev # this activates java 8!
./install.sh # test the line of code suggested by the script!
git add .; git commit -m "prepare for release"; git push
../scijava-scripts/release-version.sh --skip-version-check --skip-license-update
# if successful this will say
# * [new tag]mobie-viewer-fiji-3.0.10 -> mobie-viewer-fiji-3.0.10
Go to setup.py
and change the version
to 3.0.10
git add setup.py
git commit -m "Version bump 3.0.10"
mamba activate mobie-dev
pip install -e .
mobie --help
mobie project -p "https://github.com/mobie/platybrowser-project"
mobie files -r "/Users/tischer/Documents/mobie/src/test/resources/input/skimage-2d-tiff/" -i "image.tif" -l "segmentation.tif" -t "table.tsv"
git tag 3.0.10
git push --tags
Remove a tag (remote and local):
git push origin --delete 3.0.10
git tag -d 3.0.10