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.

enter image description here

you may have manually edit value of week or write ps script achieve this. more details how manage version numbers, please refer blog.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -