Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release notes
Checklists
Release preparation
release-x.x.x
branch (based ondevelop
branch)release-x.x.x
into themaster
branchRelease dependencies first
In case of dependent Phovea/TDP repositories follow dependency tree from the top:
"tdp_core": "^2.3.1"
when published on npm or"tdp_core": "github:datavisyn/tdp_core#semver:^8.0.0"
for non-published repositories)phovea_server>=2.3.0,<3.0.0
when published on pipy or-e git+https://github.com/datavisyn/tdp_core.git@v8.0.0#egg=tdp_core
for non-published repositories)Update version
release: major
,release: minor
, orrelease: patch
)Publish pip release
The steps of this section are only necessary if the code is public and should be published to the pypi registry.
chmod -R o+w .
in the cloned repository directory (to provide write access to the CircleCI Linux user)rm -rf dist && rm -rf build
docker run -it -v $(pwd):/phovea circleci/python:3.7-buster-node-browsers /bin/bash
and continue inside the containercd /phovea
sudo pip install -r requirements.txt && sudo pip install -r requirements_dev.txt && sudo pip install twine
npm run dist:python
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
caleydo-bot
Publish npm release
The steps of this section are only necessary if the code is public and should be published to the npm registry.
chmod -R o+w .
in the cloned repository directory (to provide write access to the CircleCI Linux user)rm -rf dist && rm -rf build && rm -rf node_modules/ && rm -rf package-lock.json
docker run -it -v $(pwd):/phovea circleci/node:14.17-buster /bin/bash
and continue inside the containercd /phovea
npm install
npm run build:web
to build the bundlesnpm login
as caleydo-botnpm publish
Create GitHub release
v2.3.1
)Prepeare next develop release
develop
branchmaster
branch intodevelop
(git merge origin/master
)<next patch version>-SNAPSHOT
(e.g.,2.3.1
to2.3.2-SNAPSHOT
)"tdp_core": "github:datavisyn/tdp_core#develop"
)-e git+https://github.com/phovea/phovea_server.git@develop#egg=phovea_server
)🏁 Finish line