Package Versions with 2 Channels?

p.k.stanton's Avatar


09 Jan, 2017 12:30 PM

I am creating 2 VSTS Builds to trigger releases to Octopus

VSTS Build 1 is master branch which deploys release to Channel with UAT & Production Environments when master branch changes
VSTS Build 2 is develop branch which deploys release to Channel with DEV & SYSTEST Environments when develop branch changes

My concern is will the deployed octopack packages get muddled. How will the release in Octopus distinguish the packages built from the develop branch to those built from the master branch?

My MSBuild arguments set the Package vesion to OctoPackPackageVersion=$(Build.BuildNumber) in both Build 1 & Build 2 definitions.

Will this cause an issue?? If so, what's the best way to manage it?

Thank You

  1. 1 Posted by p.k.stanton on 09 Jan, 2017 02:00 PM

    p.k.stanton's Avatar

    OK so let me know if this is correct....

    I made my Build 1 (Prod & UAT) build packages with name '-master' at the end.

    Then in my channels i used a tag to include/exclude packages with '-master' in the name.

    This hopefully prevents one channel from using the packages from another channel.

    Is that the best way to do it?

  2. Support Staff 2 Posted by Dalmiro Grañas on 09 Jan, 2017 07:59 PM

    Dalmiro Grañas's Avatar

    Hi Phil,

    Thanks for reaching out! You nailed it with that last reply: Tagging your packages with -master and -dev and then adding a tag rule to your channel is the right approach.


  3. p.k.stanton closed this discussion on 10 Jan, 2017 10:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac