diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..84c04e0 --- /dev/null +++ b/NEWS @@ -0,0 +1,11 @@ +ionit 0.2 (2018-11-12) + +* Prevent false warning if collect_context returns empty dictionary +* Run ionit service before ferm service +* Fix loading different Python modules with the same name + (for tests with Python < 3.5) +* Ignore deprecation warning for backward compatibility code + +ionit 0.1 (2018-08-16) + +* Initial release diff --git a/README.md b/README.md index 0af9629..c861b46 100644 --- a/README.md +++ b/README.md @@ -129,3 +129,20 @@ be preserved. So please provide a test case for each bugfix and one or more test cases for each new feature. Please follow [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/) for writing good commit messages. + +Creating releases +================= + +To create a release, increase the version in `setup.py`, document the +noteworthy changes in `NEWS`, and commit the change. Tag the release: + +``` +git tag v$(./setup.py --version) +``` + +The xz-compressed release tarball can be generated by running: +``` +name="ionit-$(./setup.py --version)" +git archive --prefix="$name/" HEAD | xz -c9 > "../$name.tar.xz" +gpg --output "../$name.tar.xz.asc" --armor --detach-sign "../$name.tar.xz" +``` diff --git a/setup.py b/setup.py index f08401a..4ad7da8 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def systemd_unit_path(): if __name__ == "__main__": setup( name="ionit", - version="0.1", + version="0.2", description="Render configuration files from Jinja templates", long_description=( "ionit is a simple and small configuration templating tool. It collects a context and "