Hi All,
I am using the Octopus Deploy (v3.15.4) plugin for Atlassian Bamboo (v6.0.3). I am stuck on trying to assign an appropriate version number. I have tried a whole range of values and it keeps failing and from reading other discussions on the forums here I have read it could be to do with Semantic Versioning but I just can’t figure out what a valid value would be. I don’t want to have a version number like 1.0.0.{buildNumber} because my actual version number is in my .NET AssemblyInfo.cs file. So I don’t want to have a misleading name on the package.
Here is the part of the log from Bamboo:
21-Jul-2017 17:22:53 System.ArgumentException: ‘175.PROJ.TEST.master’ is not a valid version string
21-Jul-2017 17:22:53 Parameter name: value
21-Jul-2017 17:22:53 at Octopus.Client.Model.SemanticVersion.Parse(String value, Boolean preserveMissingComponents)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.PackCommand.<.ctor>b__16_9(String v)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.OptionSet.<>c__DisplayClass11_0.b__0(OptionValueCollection v)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.OptionSet.ActionOption.OnParseComplete(OptionContext c)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.Option.Invoke(OptionContext c)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.OptionSet.ParseValue(String option, OptionContext c)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.OptionSet.Parse(String argument, OptionContext c)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.OptionSet.<>c__DisplayClass22_0.b__0(String argument)
21-Jul-2017 17:22:53 at System.Linq.Enumerable.WhereArrayIterator1.MoveNext() 21-Jul-2017 17:22:53 at System.Collections.Generic.List
1…ctor(IEnumerable1 collection) 21-Jul-2017 17:22:53 at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.OptionSet.Parse(IEnumerable1 arguments) 21-Jul-2017 17:22:53 at Octopus.Cli.Commands.Options.Parse(IEnumerable
1 arguments)
21-Jul-2017 17:22:53 at Octopus.Cli.Commands.PackCommand.<>c__DisplayClass18_0.b__0()
21-Jul-2017 17:22:53 at System.Threading.Tasks.Task.InnerInvoke()
21-Jul-2017 17:22:53 at System.Threading.Tasks.Task.Execute()
21-Jul-2017 17:22:53 — End of stack trace from previous location where exception was thrown —
21-Jul-2017 17:22:53 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
21-Jul-2017 17:22:53 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
21-Jul-2017 17:22:53 at Octopus.Cli.Program.Run(String[] args)
21-Jul-2017 17:22:53 Exit code: -3
Any advice would be much appreciated.