File: README_releasing.txt

package info (click to toggle)
allegro5 2%3A5.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,032 kB
  • sloc: ansic: 120,340; cpp: 15,707; objc: 4,805; python: 2,915; java: 2,195; sh: 887; xml: 86; makefile: 49; perl: 37; pascal: 24
file content (69 lines) | stat: -rw-r--r-- 3,163 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
How to Make a Release
---------------------

This guide explains how to make an Allegro release. This all assumes that we're
on Linux.

1.  Starting with the master branch, pick a commit which you want to be the base of
    the release branch. Typically this will be HEAD, but if there are some
    unbaked commits there, you may want to use an earlier commit. Call this
    branch with the new release name (e.g. 5.2.2 in this case):

        git branch 5.2.2 master

    From now on, aside from changing the version numbers, all commits on this
    release branch should be cherry-picked from the master branch. For all
    cherry-picks, prefer using the -x switch, like so:

        git cherry-pick -x badf00d

2.  On the master branch, bump the version to the next release and update the
    dates. This is done in `include/allegro5/base.h`. Also, change
    ALLEGRO_VERSION in `CMakeLists.txt`. Commit this change.

3.  Write a changelog file. This is located in docs/src/changes-5.2.txt.

    Typically you will want to look through the commits made since the last
    release, e.g. using `git log <last_release>..<this_release>` (e.g. `git log
    5.2.1..5.2.2`). Follow the format of the previous changelogs. It's up to
    you how to determine who are the 'main developers'. For the 5.1.9+ release,
    I've abitrarily determined it to be developers who've committed 95% of the
    lines of code (this isn't very important). You probably will want to have
    other developers check it over in case something is wrong/missing. Commit
    this change.

4.  We are now done with the master branch. You can push these changes to 
    github. Check out the release branch now.

5.  Cherry-pick the commit with the changelog onto this branch.

6.  Bump the version from "GIT" to "WIP" if it's unstable, or remove "GIT" if
    it's stable, while preserving the major, minor and patch numbers, but
    increasing the release number by 1. Also, update the dates at this time.
    This is all done in `include/allegro5/base.h`. Commit this change.

7.  Tag the previous commit with the same version number and the release number
    (e.g. "5.2.2.0" if you're releasing 5.2.2. An example command would be:

        git tag -a -m "Tag 5.2.2.0 (WIP)" 5.2.2.0

8.  Create the source archives by running `misc/create_release_archives.sh` and
    passing in the release version. This will create 3 source archives (.tar.gz,
    .7z and .zip) in the current directory. And example invocation would be:

        ./misc/create_release_archives.sh 5.2.2.0

    Typically for the first release we drop the release number, so rename the
    archives accordingly.

9.  Upload the source archives to gna.org. The command to use would be something like this:

        rsync -avr --rsh="ssh" --numeric-ids allegro-5.2.2.* <user>@download.gna.org:/upload/allegro/allegro/5.2.2

10. Build the docs, including the pdf. Add these to the website via the
    liballeg.github.io repository.

11. Make an announcement on the website. This involves making a news item,
    changing the download area and copy-pasting the change list.

12. Make an announcement on allegro.cc. You're done!