Skip to content

Commit 1bafb9f

Browse files
author
scls19fr
authored
Fix long description (#172)
* Fix long description * Fix release procedure
1 parent 014d153 commit 1bafb9f

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To import this library, use:
4242
>>> import semver
4343
4444
Working with the library is quite straightforward. To turn a version string into the
45-
different parts, use the :func:`semver.parse` function:
45+
different parts, use the `semver.parse` function:
4646

4747
.. code-block:: python
4848
@@ -59,10 +59,10 @@ different parts, use the :func:`semver.parse` function:
5959
'build.5'
6060
6161
To raise parts of a version, there are a couple of functions available for
62-
you. The :func:`semver.parse_version_info` function converts a version string
63-
into a :class:`semver.VersionInfo` class. The function
64-
:func:`semver.VersionInfo.bump_major` leaves the original object untouched, but
65-
returns a new :class:`semver.VersionInfo` instance with the raised major part:
62+
you. The `semver.parse_version_info` function converts a version string
63+
into a `semver.VersionInfo` class. The function
64+
`semver.VersionInfo.bump_major` leaves the original object untouched, but
65+
returns a new `semver.VersionInfo` instance with the raised major part:
6666

6767
.. code-block:: python
6868
@@ -77,7 +77,7 @@ It is allowed to concatenate different "bump functions":
7777
>>> ver.bump_major().bump_minor()
7878
VersionInfo(major=4, minor=0, patch=1, prerelease=None, build=None)
7979
80-
To compare two versions, semver provides the :func:`semver.compare` function.
80+
To compare two versions, semver provides the `semver.compare` function.
8181
The return value indicates the relationship between the first and second
8282
version:
8383

release-procedure.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,7 @@ Release procedure
1919

2020
* Add eventually new contributor(s) to [CONTRIBUTORS](https://github.com/k-bx/python-semver/blob/master/CONTRIBUTORS)
2121

22-
* Tag commit and push to github using command line interface
23-
24-
```bash
25-
git tag -a x.x.x -m 'Version x.x.x'
26-
git push python-semver master --tags
27-
```
28-
29-
or using GitHub web interface available at https://github.com/k-bx/python-semver/releases
22+
* Ensure that long description (ie [README.rst](https://github.com/k-bx/python-semver/blob/master/README.rst)) can be correctly rendered by Pypi using `restview --long-description`
3023

3124
* Upload to PyPI
3225

@@ -37,3 +30,12 @@ twine upload dist/*
3730
```
3831

3932
* Go to https://pypi.org/project/semver/ to verify that new version is online and page is rendered correctly
33+
34+
* Tag commit and push to github using command line interface
35+
36+
```bash
37+
git tag -a x.x.x -m 'Version x.x.x'
38+
git push python-semver master --tags
39+
```
40+
41+
or using GitHub web interface available at https://github.com/k-bx/python-semver/releases

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy