tfsbuild - TFS 2015 Build number in YY_week number_ day number format -
i started creating tfs 2015 build ( vnext) definition file. build number format have
$(builddefinitionname)_$(year:yyyy).$(month).$(dayofmonth)_$(rev:r)
it gives buildname_2016.05.28_1
but, wanted $(builddefinitionname)$(year:yy).week number.day number$(rev:r)
in real example : buildname_16.21.6_1
anyway can achieve week number , day number? can use same format releases , version number.
unfortunately, there no $(week)
variables $(month)
use directly, have add custom variables achieve weekly yourself.
you may have manually edit value of week or write ps script achieve this. more details how manage version numbers, please refer blog.
Comments
Post a Comment