mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2026-02-02 23:55:10 +01:00
update readme
This commit is contained in:
parent
9e5c764403
commit
c10f14f763
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
|
@ -377,6 +377,31 @@ New Version: v2020.1052
|
||||||
PEP440 : 2020.1052
|
PEP440 : 2020.1052
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Explicit `--set-version`
|
||||||
|
|
||||||
|
If the various automatic version incrementing methods don't work for you, you can explicitly do `--set-version=<version>`.
|
||||||
|
|
||||||
|
```diff
|
||||||
|
$ bumpver update --dry --set-version="v2020.1060"
|
||||||
|
INFO - Old Version: v2020.1051-beta
|
||||||
|
INFO - New Version: v2020.1060
|
||||||
|
--- setup.py
|
||||||
|
+++ setup.py
|
||||||
|
@@ -63,7 +63,7 @@
|
||||||
|
name="mymodule",
|
||||||
|
- version="2020.1051b0",
|
||||||
|
+ version="2020.1060",
|
||||||
|
description=description,
|
||||||
|
|
||||||
|
--- src/mymodule/__init__.py
|
||||||
|
+++ src/mymodule/__init__.py
|
||||||
|
@@ -3,3 +3,3 @@
|
||||||
|
|
||||||
|
-__version__ = "v2020.1051-beta"
|
||||||
|
+__version__ = "v2020.1060"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Searching for Patterns with `grep`
|
### Searching for Patterns with `grep`
|
||||||
|
|
||||||
|
|
@ -916,6 +941,7 @@ INFO - New Version: 2019.1002-beta
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### VCS Parameters (git/mercurial)
|
### VCS Parameters (git/mercurial)
|
||||||
|
|
||||||
The individual steps performed by `bumpver update`:
|
The individual steps performed by `bumpver update`:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue