mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
fix rst errors
This commit is contained in:
parent
f85481670e
commit
b3c2dc03eb
1 changed files with 23 additions and 24 deletions
|
|
@ -58,7 +58,7 @@ format: ``v{calendar_version}.{build_number}[-{release_tag}]``
|
|||
Some examples:
|
||||
|
||||
|
||||
.. code-block::
|
||||
.. code-block:
|
||||
|
||||
v201711.0001-alpha
|
||||
v201712.0027-beta
|
||||
|
|
@ -288,10 +288,6 @@ not be included in your patterns.
|
|||
A further restriction is, that a version string cannot span
|
||||
multiple lines in your source file.
|
||||
|
||||
|
||||
Pattern Search and Replacement
|
||||
------------------------------
|
||||
|
||||
Now we can call ``pycalver bump`` to bump all occurrences of
|
||||
version strings in these files. Normally this will change local
|
||||
files, but the ``--dry`` flag will instead display a diff of the
|
||||
|
|
@ -573,6 +569,8 @@ from pkg_resources import parse_version
|
|||
The Life of a Library
|
||||
---------------------
|
||||
|
||||
.. code-block:
|
||||
|
||||
mylib v201711.001-alpha # birth of a project (in alpha)
|
||||
mylib v201711.002-alpha # new features (in alpha)
|
||||
mylib v201712.003-beta # bugfix release (in beta)
|
||||
|
|
@ -601,6 +599,7 @@ mylib2 v203202.16052 # stable release
|
|||
v202008.508 # zero padding is added only after the turnover to
|
||||
v202009.0509 # a new month, so that lexical ordering is preserved.
|
||||
|
||||
|
||||
The date portion of the version, gives the user an indication of
|
||||
how up their dependency is, whether or not a project is still
|
||||
being maintained.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue