Skip to content

Commit

Permalink
remove example on non-semver push
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Dolitsky <[email protected]>
  • Loading branch information
jdolitsky committed Oct 4, 2021
1 parent 25b9b48 commit 92f3ab3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ Done.
```

### Pushing with a custom version
The `--version` flag can be provided, which will push the package with a custom version.
The `--version` flag can be provided, which will push the package with a custom version:

Here is an example using the last git commit id as the version:
```
$ helm cm-push mychart/ --version="$(git log -1 --pretty=format:%h)" chartmuseum
Pushing mychart-5abbbf28.tgz to chartmuseum...
$ helm cm-push mychart/ --version="1.2.3" chartmuseum
Pushing mychart-1.2.3.tgz to chartmuseum...
Done.
```

If you want to enable something like `--version="9.9.9-dev1"`, which you intend to push regularly, you will need to run your ChartMuseum server with `ALLOW_OVERWRITE=true`.

### Push .tgz package
Expand Down

0 comments on commit 92f3ab3

Please sign in to comment.