- Check out
master
and pull the latest changes:
git checkout master
git pull origin master
- Check the tree and references running
glottolog check
making sure there are no ÈRROR
s
Also run
glottolog index
and commit up-to-date languoid index pages.
- Update automatically created files:
iso6393.bib
: Runglottolog isobib
evobib.bib
: Runglottolog evobib
benjamins.bib
:- Switch to the clone of
clld/benjamins
- Pull the latest changes via FTP
- Recreate
benjamins.bib
, runningpython to_bib.py
- Switch back to
clld/glottolog
- Run
glottolog copy_benjamins PATH/TO/benjamins/benjamins.bib
- Switch to the clone of
- Run
glottolog bib
to createbuild/monster-utf8.bib
- Add the release to CHANGES.md
- Add release notes to
CHANGES.md
- Draft a new release running
git commit -a -m"release <version>"
git tag -a v<version> -m "release <version>"
- Push all changes to origin running
git push origin
git push --tags origin
- Create a "proper" release on GitHub and have it picked up by ZENODO.
- Add DOI badge from ZENODO as soon as it becomes available.
-
Make sure the tests pass:
tox -r
-
Make sure flake8 passes:
flake8 pyglottolog
-
Change version to the new version number in
setup.py
pyglottolog/__init__.py
-
Bump version number:
git commit -a -m "release pyglottolog <version>"
-
Create a release tag:
git tag -a pyglottolog-<version> -m "first version to be released on pypi"
-
Release to PyPI:
git checkout tags/v$1 rm dist/* python setup.py sdist bdist_wheel twine upload dist/*
-
Push to github:
git push origin git push --tags
-
Increment version number and append
.dev0
to the version number for the new development cycle:pyglottolog/__init__.py
setup.py
-
Commit/push the version change:
git commit -a -m "bump version for development" git push origin