Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
6b7615d3
Commit
6b7615d3
authored
May 13, 2020
by
Ilia Kurenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to SemVer and examples for bump rules
parent
621f698a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
docs/docs/cli.md
+15
-1
No files found.
docs/docs/cli.md
View file @
6b7615d3
...
@@ -415,9 +415,23 @@ This command shows the current version of the project or bumps the version of
...
@@ -415,9 +415,23 @@ This command shows the current version of the project or bumps the version of
the project and writes the new version back to `
pyproject.toml
` if a valid
the project and writes the new version back to `
pyproject.toml
` if a valid
bump rule is provided.
bump rule is provided.
The new version should ideally be a valid
semver
string or a valid bump rule:
The new version should ideally be a valid
[semver](https://semver.org/)
string or a valid bump rule:
`
patch
`, `
minor
`, `
major
`, `
prepatch
`, `
preminor
`, `
premajor
`, `
prerelease
`.
`
patch
`, `
minor
`, `
major
`, `
prepatch
`, `
preminor
`, `
premajor
`, `
prerelease
`.
The table below illustrates the effect of these rules with concrete examples.
| rule | before | after |
|------------|---------------|---------------|
| major | 1.3.0 | 2.0.0 |
| minor | 2.1.4 | 2.2.0 |
| patch | 4.1.1 | 4.1.2 |
| premajor | 1.0.2 | 2.0.0-alpha.0 |
| preminor | 1.0.2 | 1.1.0-alpha.0 |
| prepatch | 1.0.2 | 1.0.3-alpha.0 |
| prerelease | 1.0.2 | 1.0.3-alpha.0 |
| prerelease | 1.0.3-alpha.0 | 1.0.3-alpha.1 |
| prerelease | 1.0.3-beta.0 | 1.0.3-beta.1 |
## export
## export
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment