forked from scottprahl/miepython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.txt
34 lines (26 loc) · 810 Bytes
/
release.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Releasing a new version
# run sanity checks
tox
# make sure all Jupyter notebooks in the doc folder still work
# versioning
# update the version in setup.py and __init__.py
git commit setup.py miepython/__init__.py -m 'update version'
git push
# update CHANGELOG.rst
git shortlog v1.3.0..HEAD
git commit CHANGELOG.rst -m 'update recent changes'
git push
# create release tag on github
git tag v1.3.0
git push origin v1.3.0
# upload source to pypi
rm -rf dist/*
python3 setup.py sdist
twine upload dist/*
# test the install by removing local developer version
# installing, then uninstalling, then restoring developer version
conda develop -u .
pip install miepython
pip uninstall miepython
conda develop .
# Go to github and create a new release to hide previous releases