0

We are using Octopus Deploy from TFS using the OctoPack package for convenience. We have a custom .nuspec file (generated on the fly) to pack up the deployment items and it works fine for the current mainline scenario.

Now I'm looking at setting up a pipeline for pre-release of next version in parallel to mainline and seems a channel would be perfect for the job.

However, channels are filtered on e.g. the format 2.0.0-alpha. OctoPack offers some control using the parameter OctoPackAppendToPackageId, but as the documentation calls out that will append an idendifier like

/p:OctoPackAppendToPackageId=foo - Append the extra name to the package ID (e.g. for feature branch packages). MyApp.Foo.1.2.3.nupkg

However, channels are filtered on e.g. the format 2.0.0-alpha, i.e. with any extra suffix after the version number.

Is the conclusion that OctoPack is not really compatible with use of channels, or is there some other way I can either do channel filtering, alternately get OctoPack to produce a name that can be filtered?

2
  • 1
    Have you tried the OctoPackAppendToVersion parameter instead? Oct 20, 2016 at 10:54
  • Ah. How embarrassing, it was there all the time... Thanks for pointing it out!
    – bit0001
    Oct 20, 2016 at 12:01

1 Answer 1

0

Use the OctoPackAppendToVersion parameter instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.