You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the prerelease tag configuration is fine except for feature branches where there can be many of them at the same time for the same version. The problem here is that with the current useBranchName config, feature branches starting with "a" are considered the lowest prerelease version and any feature branch starting with "z" will be the latest one. To solve this we should be able to prefix the feature braches "something." so they can be positioned in the desired order consistently no matter what the name of the feaure branch.
E.g feature/AddForgottenPassword and feature/ZeroAllowedInAmount could be v1.0.0-alpha.AddForgottenPassword and v1.0.0-alpha.ZeroAllowedInAmount which would then both be seen as the same level compared with the other develop/release and master branches.
To achieve this @JakeGinnivan suggested using c# string interpolation so in config something like:
tag: alpha.{BranchName}
For branch feature/FixLogin
Would produce a semver like 0.0.0-alpha.FixLogin
+1 for making tag: alpha.{BranchName} the new default for feature branches.
BTW, this feature enables to workaround problems with nuget pack when feature branches begin with a number, cf. NuGet/Home#1743, which seems to be common practice when working with issue trackers.
Activity
Merge pull request #766 from gusztavvargadr/feature/support-branch-na…
gusztavvargadr commentedon Jan 30, 2016
I just wanted to double check if is #766 what you expect, but I see it just got merged, thanks @JakeGinnivan :)
JakeGinnivan commentedon Jan 30, 2016
Yep, exactly what I was after.
I think in v4 this will become the default behaviour.
Merge pull request #768 from gusztavvargadr/feature/document-branch-n…
mkoertgen commentedon Feb 26, 2016
Great feature!
+1 for making
tag: alpha.{BranchName}the new default for feature branches.BTW, this feature enables to workaround problems with
nuget packwhen feature branches begin with a number, cf. NuGet/Home#1743, which seems to be common practice when working with issue trackers.Very cool. Using it straight away!