Skip to content

Commit

Permalink
fix: README.md usage
Browse files Browse the repository at this point in the history
  • Loading branch information
panpuchkov committed Dec 24, 2023
1 parent 2d5b417 commit c1d306c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ $ echo $? # get exit code

Get current version (last git tag):
```shell
$ docker run --rm -v $(pwd):/app -w /app panpuchkov/pygitver --curr-ver
$ docker run --rm -v $(pwd):/app -w /app --user "$(id -u):$(id -g)" panpuchkov/pygitver --curr-ver
v0.0.3
```

Get next version (bump last git tag):
```shell
$ docker run --rm -v $(pwd):/app -w /app panpuchkov/pygitver --next-ver
$ docker run --rm -v $(pwd):/app -w /app --user "$(id -u):$(id -g)" panpuchkov/pygitver --next-ver
v1.0.0
```

Expand Down
2 changes: 1 addition & 1 deletion src/pygitver.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def main():
required=False,
)
parser.add_argument(
"-t", "--tags", action="store_true", help="git git tags", required=False
"-t", "--tags", action="store_true", help="git tags", required=False
)
parser.add_argument(
"-ccm",
Expand Down

0 comments on commit c1d306c

Please sign in to comment.