From f861d1463ed18a455690a2755112693438dbe40f Mon Sep 17 00:00:00 2001 From: John Long Date: Mon, 4 Dec 2023 15:07:33 -0500 Subject: [PATCH] added create tag to deploy command --- cmd/deploy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/deploy.go b/cmd/deploy.go index d76e4b4..7070452 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -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) }