File: RELEASE.rst

package info (click to toggle)
gpiozero 2.0.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,192 kB
  • sloc: python: 15,355; makefile: 246
file content (51 lines) | stat: -rw-r--r-- 1,703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
=================
Release Procedure
=================

On your build Pi, perform the following steps:

1. Ensure you have a reliable Internet connection (preferably Ethernet).

2. Ensure you have the following Debian packages installed: ``devscripts, dput,
   python-all, python3-all, gnupg, build-essential, git, python-setuptools,
   python3-setuptools, python-rpi.gpio, python3-rpi.gpio``

3. Ensure you have a valid ``~/.pypirc`` configuration. For example::

       [distutils]
       index-servers =
           pypi

       [pypi]
       username:my_username
       password:my_long_password

4. Ensure you have a valid ``~/.dput.cf`` setup which includes the
   ``[raspberrypi]`` target. For example::

       [raspberrypi]
       fqdn = build-master.raspberrypi.org
       incoming = incoming
       login = incoming
       method = scp

5. Ensure you have a valid public/private key-pair defined for GNUPG.

6. In the root ``gpiozero`` directory, run ``make release``. This will launch
   ``dch`` to update the Debian changelog. Fill this out properly (ticket
   references!) and the release will be generated, tagged, signed, and
   registered with GitHub and PyPI.

   .. note::

       Although the release has been registered at this point, no packages
       have been generated or uploaded to any service.

7. Still in the root ``gpiozero`` directory, run ``make upload``. This will
   generate the actual debian packages, upload them to Raspbian, and upload
   the source package to PyPI.

8. On GitHub, close any milestone associated with the release.

9. On ReadTheDocs, update the project configuration to build the new release,
   then set it to the default version for the project.