Skip to content

Commit

Permalink
added create tag to deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
xadhatter committed Dec 4, 2023
1 parent f73a6fd commit f861d14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var deployCmd = &cobra.Command{

func init() {
deployCmd.Flags().StringVarP(&cfg.Flags.Version, "version", "s", "", "version to assign to the AppDeployment, making it immutable")
deployCmd.Flags().BoolVarP(&cfg.Flags.CreateTag, "create-tag", "t", false, `create Git tag using the AppDeployment version`)
addCommonDeployFlags(deployCmd)
rootCmd.AddCommand(deployCmd)
}
Expand Down

0 comments on commit f861d14

Please sign in to comment.