You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* upload-latest-release-and-tweak-readme-how-to-make-a-release:
README: Improve "how to make a release ?"
package: Upload packages to a pre-release named "latest"
Copy file name to clipboardExpand all lines: CHANGES.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,21 @@ Testing
63
63
64
64
* Relocate test repositories under [github-release-bot](https://github.com/github-release-bot) user.
65
65
66
+
Build System
67
+
------------
68
+
69
+
* Latest packages are now published
70
+
71
+
* Packages generated from master branch are available at https://github.com/j0057/github-release/releases/tag/latest
72
+
73
+
* They can be installed using `pip intall githubrelease -f https://github.com/j0057/github-release/releases/tag/latest`
74
+
75
+
Documentation
76
+
-------------
77
+
78
+
* Update [maintainers: how to make a release ?](https://github.com/j0057/github-release/blob/master/README.md#maintainers-how-to-make-a-release-) section
79
+
to include update of *CHANGES.md* and creation of a [github release](https://github.com/j0057/github-release/releases).
80
+
66
81
1.5.0
67
82
=====
68
83
@@ -180,8 +195,8 @@ Build System
180
195
Documentation
181
196
-------------
182
197
183
-
* Re-organize and improve [README.md](https://github.com/j0057/github-release/tree/add-changes-md#table-of-contents).
198
+
* Re-organize and improve [README.md](https://github.com/j0057/github-release/blob/master/README.md#table-of-contents).
184
199
185
-
* Add [maintainers: how to make a release ?](https://github.com/j0057/github-release/tree/add-changes-md#maintainers-how-to-make-a-release-) section.
200
+
* Add [maintainers: how to make a release ?](https://github.com/j0057/github-release/blob/master/README.md#maintainers-how-to-make-a-release-) section.
First, [generate a new token](https://help.github.com/articles/creating-an-access-token-for-command-line-use). It
@@ -335,41 +343,62 @@ that has already been intercepted and recorded.
335
343
336
344
2. Make sure the cli and module work as expected
337
345
338
-
3. Tag the release. Requires a GPG key with signatures. For version *X.Y.Z*::
346
+
3. Review [CHANGES.md](https://github.com/j0057/github-release/blob/master/README.md), replace *Next Release* into *X.Y.Z*, commit and push. Consider using `[ci skip]` in commit message.
347
+
348
+
4. Tag the release. Requires a GPG key with signatures. For version *X.Y.Z*:
339
349
340
350
```bash
341
351
git tag -s -m "githubrelease X.Y.Z" X.Y.Z origin/master
342
352
```
343
353
344
-
4. Create the source tarball and binary wheels::
354
+
5. Create the source tarball and binary wheels:
345
355
346
356
```bash
347
357
rm -rf dist/
348
358
python setup.py sdist bdist_wheel
349
359
```
350
360
351
-
5. Upload the packages to the testing PyPI instance::
361
+
6. Upload the packages to the testing PyPI instance:
352
362
353
363
```bash
354
364
twine upload --sign -r pypitest dist/*
355
365
```
356
366
357
-
6. Check the [PyPI testing package page](https://testpypi.python.org/pypi/githubrelease/).
367
+
7. Check the [PyPI testing package page](https://testpypi.python.org/pypi/githubrelease/).
358
368
359
-
7. Upload the packages to the PyPI instance::
369
+
8. Upload the packages to the PyPI instance::
360
370
361
371
```bash
362
372
twine upload --sign dist/*
363
373
```
364
374
365
-
8. Check the [PyPI package page](https://pypi.python.org/pypi/githubrelease/).
375
+
9. Check the [PyPI package page](https://pypi.python.org/pypi/githubrelease/).
366
376
367
-
9. Make sure the package can be installed::
377
+
10. Create a virtual env, and make sure the package can be installed:
0 commit comments