@@ -11,35 +11,40 @@ All steps except those described in "Tag Release" should be performed on a
11
11
server with a high-bandwidth connection to the Internet. About 1000MiB worth of
12
12
data will be uploaded to PyPi.
13
13
14
- Tag Release
15
- ===========
16
-
14
+ Before Tagging Release
15
+ ======================
17
16
- Update release notes, ``doc/whats_new.rst ``.
18
17
- Double check version number in ``pystan/__init__.py ``
19
18
- Update version in snippet in ``doc/getting_started.rst ``, i.e., "wget ..."
20
19
- Commit any changes you just made.
21
20
- Double check that tests pass for this commit.
22
- - Fast-forward branch ``master `` to ``develop ``.
23
- - Release documentation
24
21
25
- - `` git rebase master readthedocs ``
26
- - `` git push --force origin readthedocs ``
22
+ Tag Release
23
+ ===========
27
24
25
+ - Fast-forward branch ``master `` to ``develop ``.
28
26
- Tag and sign the release
29
27
30
- - For example, ``git tag --sign v2.4.0.1 ``
28
+ - For example, ``git tag -u C3542448245BEC68F43070E4CCB669D9761F0CAC - -sign v2.4.0.1 ``
31
29
- Push tag to github ``git push --tags ``
32
30
33
- Build source distribution
34
- =========================
31
+ Update Documentation
32
+ =====================
33
+
34
+ *readthedocs needs a single patch to work. *
35
+
36
+ - Release documentation
37
+
38
+ - ``git rebase master readthedocs ``
39
+ - ``git push --force origin readthedocs ``
40
+
41
+ Build source distribution and wheels
42
+ ====================================
35
43
36
44
Assemble source distribution::
37
45
38
46
./build_dist.sh
39
47
40
- Build Wheels
41
- ============
42
-
43
48
Linux and OSX: in the ``pystan-wheels `` repo update the ``pystan `` submodule
44
49
and bump the version in ``.travis.yml ``. Push changes.
45
50
@@ -49,9 +54,6 @@ wheels.
49
54
When wheels have been created they will be automatically uploaded to a
50
55
Rackspace storage bucket.
51
56
52
- Download Wheels
53
- ---------------
54
-
55
57
After the wheels have finished building, download them from the Rackspace
56
58
storage bucket.
57
59
@@ -75,8 +77,8 @@ Upload Source Distribution and Wheels to PyPI
75
77
76
78
- Upload source distribution and wheels::
77
79
78
- twine upload --skip-existing dist/*.tar.gz dist/*.tar.gz.asc
79
- twine upload --skip-existing dist/*.whl dist/*.whl.asc
80
+ python3 -m twine upload --skip-existing dist/*.tar.gz dist/*.tar.gz.asc
81
+ python3 -m twine upload --skip-existing dist/*.whl dist/*.whl.asc
80
82
81
83
If ``twine `` prompts for a username and password abort the process with
82
84
Control-C and enter your PyPI credentials in ``$HOME/.pypirc ``. (For more
@@ -97,6 +99,14 @@ Update Source
97
99
- Add placeholder for next release in ``doc/whats_new.rst ``.
98
100
- Commit changes and push ``develop ``.
99
101
102
+ Update Conda-Forge
103
+ ------------------
104
+
105
+ Update the repository at https://github.com/conda-forge/pystan-feedstock
106
+
107
+ You will need the sha256 of the tarball. Calculate it by hand or find it at
108
+ https://pypi.org/project/pystan/#files after uploading the tarball.
109
+
100
110
Update Stan Website
101
111
-------------------
102
112
@@ -108,19 +118,18 @@ number in the following file needs to be incremented::
108
118
Make Release Announcement
109
119
-------------------------
110
120
111
- Post a message to the stan-users mailing list . The following is an example from
121
+ Post a message to the Stan discourse forum . The following is an example from
112
122
PyStan 2.14.0.0 (subject is "pystan 2.14.0.0 released on PyPI")::
113
123
114
- PyStan 2.14 .0.0 is now available on PyPI. You may upgrade with
124
+ PyStan 2.17 .0.0 is now available on PyPI. You may upgrade with
115
125
116
- python -m pip install --upgrade pystan
126
+ python3 -m pip install --upgrade pystan
117
127
118
128
A list of changes is available in the customary location:
119
129
120
130
http://pystan.readthedocs.io/en/latest/whats_new.html
121
131
122
-
123
132
TODO
124
133
====
125
134
126
- - Automate this entire process.
135
+ - Automate more of this process.
0 commit comments