File: Releasing.md

package info (click to toggle)
haskell-raaz 0.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 844 kB
  • sloc: haskell: 5,045; ansic: 1,885; makefile: 18
file content (57 lines) | stat: -rw-r--r-- 1,909 bytes parent folder | download | duplicates (2)
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
# Checklist for releasing.

## Pre-release checklist.

Suppose that the release that one wants to do is version A.B.C. We
assume that the current master has all the necessary changes except
the release specific ones. The workflow is to start with a release
branch which we will call release-A.B.C.

* The first step is to update travis.yml to start building on the
  release-A.B.C This should be done before actually creating the
  release branch because we want all the release specific changes that
  are pushed to be built by travis. This is done on the master branch.
  push this change to the main repository

* Create a fresh branch titled release-A.B.C.

* Go over the bug-tracker for bugs to be addressed for this release.
  mark them.

* A pending change log entry should already be there for this entry.
  Please review it.

* Hack and get the project to shape.

* When ready merge to the master as a non-ff merge.

## Candidate release.

Hackage supports candidate releases which we should be making use of.
Here is a set of steps that can be done with a candidate release that
can help in doing a high quality release

1. Make sure to trigger a documentation build for the candidate on
   hackage.  This is currently not automated but would likely be the
   case.

2. The package build matrix is likely to be operational for candidate
   packages as well. This gives good package compatibility hints for
   high quality release.


3. Get down-stream packagers to make an experimental upload of the
   package into their CI system. Distributions like Debian often do
   have multi-arch builds and also add builds across other platforms
   like Hurd, kFreeBSD etc. Successful builds


## Post release

* Upload the release on hackage.

* Tag the release branch. Put the change log in the tag message.

* Bump up the release version.

* Create a pending entry for the next release in the Change log.