Build: just tack on +compat to versions that may include labels

This commit is contained in:
Timmy Willison 2015-07-13 14:45:40 -04:00
parent 3d850edb13
commit 8565f54257

View File

@ -28,8 +28,7 @@ module.exports = function( Release ) {
*/
_createTag: function( paths ) {
Release.distVersion = Release.newVersion;
Release.newVersion = Release.newVersion
.replace( /(\d+\.\d+\.\d+)/, "$1+compat" );
Release.newVersion = Release.newVersion + "+compat";
return createTag( paths );
},
/**