func refFlag()

in internal/flags/create_flags.go [101:109]


func refFlag(hidden bool) *cli.StringFlag {
	return &cli.StringFlag{
		Name:     Ref,
		Usage:    "If tag_name doesn’t exist, the release will be created from ref; it can be a commit SHA, another tag name, or a branch name",
		Required: false,
		EnvVars:  []string{"CI_COMMIT_SHA"},
		Hidden:   hidden,
	}
}