From abff43ef2409f309190c516b0031d87694622c1e Mon Sep 17 00:00:00 2001 From: Shane Date: Tue, 5 Dec 2023 12:15:44 +1000 Subject: [PATCH] Git reference is no longer optional --- source/Octopus.Cli/Commands/Releases/CreateReleaseCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Octopus.Cli/Commands/Releases/CreateReleaseCommand.cs b/source/Octopus.Cli/Commands/Releases/CreateReleaseCommand.cs index a57caa65b8..2eb02fdad1 100644 --- a/source/Octopus.Cli/Commands/Releases/CreateReleaseCommand.cs +++ b/source/Octopus.Cli/Commands/Releases/CreateReleaseCommand.cs @@ -46,7 +46,7 @@ public CreateReleaseCommand(IOctopusAsyncRepositoryFactory repositoryFactory, options.Add("project=", "Name or ID of the project.", v => ProjectNameOrId = v); options.Add("defaultPackageVersion=|packageVersion=", "Default version number of all packages to use for this release. Override per-package using --package.", versionResolver.Default); options.Add("gitCommit=", "[Optional] Git commit to use when creating the release. Use in conjunction with the --gitRef parameter to select any previous commit.", v => GitCommit = v); - options.Add("ref=|gitRef=", "[Optional] Git reference to use when creating the release.", v => GitReference = v); + options.Add("ref=|gitRef=", "Git reference to use when creating the release.", v => GitReference = v); options.Add("version=|releaseNumber=", "[Optional] Release number to use for the new release.", v => VersionNumberParameterValue = v); options.Add("channel=", "[Optional] Name or ID of the channel to use for the new release. Omit this argument to automatically select the best channel.", v => ChannelNameOrId = v); options.Add("package=", "[Optional] Version number to use for a package in the release. Format: StepName:Version or PackageID:Version or StepName:PackageName:Version. StepName, PackageID, and PackageName can be replaced with an asterisk. An asterisk will be assumed for StepName, PackageID, or PackageName if they are omitted.", v => versionResolver.Add(v), allowsMultiple: true);