This changes the release date that is automatically added to the release
notes from your local timezone to UTC. If different people are deploying
two releases in different timezones, it is possible that a newer version
could be released "before" the previous version. For example, if someone
in Italy deployed a release at 01:00 2018-06-02 (UTC+2) and later
someone in California deployed a release at 22:00 2018-04-01 (UTC-7)- we
have a time travelling release. If all releases are labeled using UTC
then they will be consistent, however it is possible to have a "future"
release if you live west of the prime meridian.
Made the release script a bit more streamline. The only function it
really performs now is to update the changelog file and prepare a
release branch.
The script accepts some command line options:
--upstream REPO - the upstream repo (streamlink/streamlink)
--origin REPO - the users fork of the repo
--version VERSION - the new version number
The script will work out the current version and generate a git shortlog
and update the changelog file, then launch the users $EDITOR so that it
can be updated ($VISUAL, or $EDITOR, then fallback to vi).
* deploy: automatically deploy sdist and wheel builds to PyPI.
* build: limit deploys to streamlink repo
* build: remove pypi methods from release script
* build: build and sign sdist in travis using an RSA sign-only key
* build: combine the build and sign with pypi deploy
* rename CHANGELOG to md
* symlink the change log in to the docs
* include the recommonmark parser for md file
* reformatted the CHANGELOG md file, should look more or less the same as the RST
* refactored the release scripts to handle/generate the new format
* file is a bad variable name
* couple of minor tweaks, mainly style
* Fix git shortlog being highlighted as Python in the docs
* update manifest to include changelog.md instead of rst
* build: use versioneer to set the build number
* build: update the deploy scripts to use versioneer
* release: update docs version and fix tarball version
* build: no need to install versioneer on travis, etc.
When doing the 0.3.0 release I encountered some errors generating the
header of the RST file.
Also, we now automatically build the Windows binary as part of the
release progress through Travis, thus, removing the binary from being
uploaded / generated.
This is a script I use in order to release something on Github as well
as push onto Pypi. I use this with a similar project called "kubeshift".
This release script will automatically process things such as renaming
the versioning, creating changelogs as well as uploading to Pypi.
After this is merged, we'll go ahead and do our first release of
Streamlink!