-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathRELEASE_PROCESS.txt
59 lines (36 loc) · 1.13 KB
/
RELEASE_PROCESS.txt
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
How to release FormAlchemy
==========================
This assumes that the maintainance branch is 1.5 and we want to release
version 1.5.3.
Check out the release branch:
$ git checkout v1.5
Run tests::
$ nosetests
$ nosetests3
Make sure you have a clean working directory:
$ git status
Update version numbers:
$ : remove the -dev suffix
$ vi CHANGELOG.txt formalchemy/__init__.py
$ git commit -a
Tag the release:
$ : use the tag to briefly describe this release's highlights
$ git tag -s v1.5.3
Compile .mo files, create the tarball, and push to PyPI::
$ python setup.py make_dist register upload
Prepare for the next cycle:
$ : increment version numbers. Add a -dev suffix!
$ vi CHANGELOG.txt formalchemy/__init__.py
$ git commit -a
Merge the release into the master branch:
$ git checkout master
$ : use the release tag, NOT the release branch
$ git merge v1.5.3
$ : you will have conflicts in these files. Fix them.
$ vi CHANGELOG.txt formalchemy/__init__.py
$ git commit -a
make sure that the master branch still works:
$ nosetests
$ nosetests3
Finally, update git:
$ git push --tags --all