Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 925 Bytes

RELEASE.md

File metadata and controls

44 lines (31 loc) · 925 Bytes

Making a new release of jupysql-plugin

Create conda environment:

conda env create  -f environment.yml -y

Bump the version using hatch. See the docs on hatch-nodejs-version for details.

NEW_VERSION='NEW_VERSION'
hatch version $NEW_VERSION
git add --all
git commit -m "Version $NEW_VERSION"

The previous command will update the version in the package.json file. You have to manually commit and create the tag:

git tag -a $NEW_VERSION -m "Version $NEW_VERSION"
git push
git push --tag

To create a Python source package (.tar.gz) and the binary package (.whl) in the dist/ directory, do:

Note: The following command needs NodeJS:

# clean files before building
rm -rf dist
jlpm clean:all

# build the package
python -m build

Then to upload the package to PyPI, do:

twine upload dist/*