-
Notifications
You must be signed in to change notification settings - Fork 2
/
release.txt
83 lines (63 loc) · 1.99 KB
/
release.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# dont change any files besides CHANGELOG.txt and __init__.py during procedure.
### V2: no git flow, main branch pushes trigger github actions that then makes the release on PYPI
# update everything
git checkout main
# make sure we're up to date
git pull ; git pull upstream main
git checkout develop
# merge release changes
git merge main
# version bump in postgres_searchindex/__init__.py
# last chance for changelog
git commit -am'x.x.x release'
git tag x.x.x
# got to main branch
git checkout main
# merge
git merge develop
# push (and wait for build/publish)
git push --all; git push --tags
git push upstream --all; git push upstream --tags
git checkout develop
add next version and DEV to version
### V1: NO git flow, manual publishing
# update everything
git checkout release
# make sure we're up to date
git pull ; git pull upstream release
git checkout develop
# merge release changes
git merge release
# version bump in postgres_searchindex/__init__.py
# last chance for changelog
git commit -am'x.x.x release'
git tag x.x.x
# got to release branch
git checkout release
# merge
git merge develop
# push & build
git push --all; git push --tags
git push upstream --all; git push upstream --tags
python setup.py sdist && python setup.py bdist_wheel --universal
# upload
twine upload dist/* -r pypi
# back to normal
git checkout develop
# version bump to x.x.xDEV
### V0: git flow, manual publishing
# git flow release start xxxx
# version bump in postgres_searchindex/__init__.py
# last chance to update CHANGELOG!
# git commit -am'version bump / changelog'
# git flow release finish xxxx
# git push --all; git push --tags
# upstream: depends
# git push upstream --all; git push upstream --tags
# python setup.py sdist && python setup.py bdist_wheel --universal
# twine upload dist/* -r pypitest
# twine upload dist/* -r pypi
# version bump to ne.xt.version.dev
# legacy
# python setup.py register -r pypitest && twine upload dist/* -r pypitest
# python setup.py register -r pypi && twine upload dist/* -r pypi