forked from gholt/swiftly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASING
66 lines (58 loc) · 1.53 KB
/
RELEASING
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
git checkout master
git pull
Update swiftly/__init__.py VERSION string to an even-ending version
git add swiftly/__init__.py
Update CHANGELOG
git add CHANGELOG
git commit -m 'Releasing <version>'
git checkout -b <version>
git checkout stable
git merge <version>
rm -rf doc/build/*
python setup.py build_sphinx
git checkout gh-pages
mv doc/build/html <version>
git add <version>
Update index.html to point to new release docs
git add index.html
git commit -m 'Generated <version> docs'
git checkout debian
git merge <version>
Update debian/changelog
git add debian/changelog
git commit -m 'Releasing <version>'
git checkout rpm
git merge <version>
Update rpmbuild/SPECS/swiftly.spec Version: line and %changelog area
git add rpmbuild/SPECS/swiftly.spec
git commit -m 'Releasing <version>'
git checkout master
Update swiftly/__init__.py VERSION string to an odd-ending version
git add swiftly/__init__.py
Update CHANGELOG
git add CHANGELOG
git commit -m 'Moving to <version> development'
rm -rf doc/build/*
python setup.py build_sphinx
git checkout gh-pages
rm -rf dev
mv doc/build/html dev
git add dev
git commit -m 'Updated dev docs'
git checkout master
git push
git checkout <version>
git push origin <version>
To Update PyPI:
git checkout <version>
tar zcf ~/swiftly-<version>.tgz .
Log into https://pypi.python.org/pypi
Click on Your packages: swiftly
Edit latest version
Change version to <version>
Click Add Information
Click files
Select swiftly-<version>.tgz created above
Select File Type: source
Select Python Version: Any
Click Upload new File