Skip to content

Commit

Permalink
Bump version, update readme and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Sep 7, 2017
1 parent f2d1072 commit 9097623
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Changelog
---------

**0.14.0 (TBA)**
**0.14.0 (2017-09-07)**

* Add `--debug` option to enable debug logging instead of using the `TOOT_DEBUG`
environment variable.
* Fix: don't read requirements.txt from setup.py, this fails when packaging deb
and potentially in some other cases (see #18)

**0.13.0 (2017-08-26)**

Expand Down
23 changes: 19 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,29 @@ Interact with Mastodon social networks from the command line.
Installation
------------

On Debian or Ubuntu running Python 3, download the .deb package from the
`latest release <https://github.com/ihabunek/toot/releases/latest>`_ and install it
using apt. This will also install the required prerequisites.
From APT package repository
~~~~~~~~~~~~~~~~~~~~~~~~~~~

This works for Debian, Ubuntu and derivatives.

The repo is signed with my `keybase.io <https://keybase.io/ihabunek>`_ key.

Add the `bezdomni.net` repository:

.. code-block::
echo "deb http://bezdomni.net/packages/ ./" | sudo tee /etc/apt/sources.list.d/bezomni.list
curl https://keybase.io/ihabunek/pgp_keys.asc | sudo apt-key add -
Install the package:

.. code-block::
apt install ./python3-toot_0.13.0-1_all.deb
sudo apt update
sudo apt install python3-toot
From Python Package Index
~~~~~~~~~~~~~~~~~~~~~~~~~

Otherwise, install from PyPI using pip, preferably into a virtual environment:

Expand Down
24 changes: 24 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Release instructions
====================

* Update the version number in `setup.py`
* Update the `CHANGELOG.md` with the release notes & date
* Tag a release
* Push master & tag to GitHub

Publishing to PyPI
------------------

* `make dist` to create source and wheel distributions
* `make publish` to push them to PyPI

Publishing to Debian repo
-------------------------

Publishing deb packages is done via [ihabunek/packages](https://github.com/ihabunek/packages)

* `make deb` to create the debian package
* copy deb file to packages project directory
* in packages project directory:
* `make` to build the repo files
* `make publish` to send them to the server
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='toot',
version='0.13.0',
version='0.14.0',
description='Interact with Mastodon social networks from the command line.',
long_description=long_description,
author='Ivan Habunek',
Expand Down

0 comments on commit 9097623

Please sign in to comment.