|
From: Thomas L. <ta...@gm...> - 2019-09-14 14:08:34
|
0release 0.16 released: https://docs.0install.net/tools/0release/ 0release automates the process of creating new software releases. It handles details such as setting the version number and release date, tagging the release in your version control system and updating your feed. Changes since 0.15: New features - Now works on Windows (Bastian Eicher). - Add <release:update-version>. This is an easier way to update version numbers, and is more portable as you don't need "sed". Just pass the file to update and a regular expression matching the version assignment. The first match group will be replaced with the version. Example: <release:update-version path='main.py'>^version = '(.*)'$</release:update-version> Note: this also sets a "-post" version after the commit, which wasn't previously possible. Updates - Remove support for releasing without 0repo and create a 0repo-compatible configuration by default. This is much simpler. - Rename environment variables for newer shells. Newer shells silently remove variables with names beginning with '0'. Improved messages - Better error when feed has wrong prefix. - Print a warning if not releasing from the master branch. - Suggest providing a "test" command, not the old self-test attribute. Unit-tests - Remove example hooks from .git directories in unit-tests. Recent versions of Git warn about these files. - Add Travis tests. -- talex5 (GitHub/Twitter) http://roscidus.com/blog/ GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC |