Skip to content

Commit

Permalink
update usage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sstarcher committed Mar 26, 2018
1 parent a9f7d41 commit 0356bae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You can install a specific release version:

## Usage

* helm release CHART - Would determine the next tag for the chart and update the Chart.yaml
* helm release CHART -t 12345 - Would update Chart.yaml and modify values.yaml images.tag to equal 1235

## Release Logic

Expand Down
3 changes: 2 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ var tagPath string

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "helm-release",
Use: "helm-release [CHART_PATH]",
Short: "Determines the charts next release number",
Long: `This plugin will use environment variables and git history to divine the next chart version.
It will also optionally update the image tag in the values.yaml file.`,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
dir := "."
if len(args) > 0 {
Expand Down

0 comments on commit 0356bae

Please sign in to comment.