Skip to content

Commit

Permalink
docs: extend existing prerelease documentation to include new flag se…
Browse files Browse the repository at this point in the history
…mantics (#269)
  • Loading branch information
ga-paul-t authored Oct 6, 2022
1 parent ac8dcc0 commit 10c9f59
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 36 deletions.
15 changes: 8 additions & 7 deletions docs/reference/cli/bump.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ uplift bump [flags]
## Global Flags

```text
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-existing-prerelease ignore any existing prerelease when calculating next semantic version
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
```
15 changes: 8 additions & 7 deletions docs/reference/cli/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ uplift changelog [flags]
## Global Flags

```text
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-existing-prerelease ignore any existing prerelease when calculating next semantic version
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
```
15 changes: 8 additions & 7 deletions docs/reference/cli/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ uplift release [flags]
## Global Flags

```text
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-existing-prerelease ignore any existing prerelease when calculating next semantic version
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
```
17 changes: 9 additions & 8 deletions docs/reference/cli/root.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ uplift [command]
## Flags

```text
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
-h, --help help for uplift
--ignore-detached ignore reported git detached HEAD error
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
-h, --help help for uplift
--ignore-detached ignore reported git detached HEAD error
--ignore-existing-prerelease ignore any existing prerelease when calculating next semantic version
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
```

## Commands
Expand Down
15 changes: 8 additions & 7 deletions docs/reference/cli/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ uplift tag [flags]
## Global Flags

```text
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
--config-dir string a custom path to a directory containing uplift config (default ".")
--debug show me everything that happens
--dry-run run without making any changes
--ignore-detached ignore reported git detached HEAD error
--ignore-existing-prerelease ignore any existing prerelease when calculating next semantic version
--ignore-shallow ignore reported git shallow clone error
--no-push no changes will be pushed to the git remote
--silent silence all logging
```
6 changes: 6 additions & 0 deletions docs/tagging.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ Uplift has early support for tagging a repository with prerelease metadata. You
```sh
uplift tag --prerelease beta.1+20220930
```

If you need Uplift to ignore any existing prerelease metadata when calculating the next semantic version, you must include the `--ignore-existing-prerelease` flag:

```sh
uplift tag --prerelease beta.1+20221006 --ignore-existing-prerelease
```

0 comments on commit 10c9f59

Please sign in to comment.