Branch specific build numbers

jcburnside97's Avatar

jcburnside97

11 Mar, 2018 07:48 PM

I know that for versioning you can do {build} insert the global build number. But is there a way to set up the .yml to have a branch specific build number? ie say master was built 3 times but Experimental was built 4. is there a way to reflect that with the version numbers?
like master's version would be 1.0-master.3 and Experimental's verson would be 1.0-experimental.4

  1. 1 Posted by Ilya Finkelshte... on 12 Mar, 2018 08:01 PM

    Ilya Finkelshteyn's Avatar

    We have only single build number counter per project, so I do not see how to make this happen. You can create two separate projects, targeting the same repository and make one build only master, while other -- only experimental (or all but master): https://www.appveyor.com/docs/branches/#white--and-blacklisting

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 AM.

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

Keyboard shortcuts

Generic

? 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