Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Build: Tag demos.jquerymobile.com repo on release
Browse files Browse the repository at this point in the history
Fixes gh-7191
  • Loading branch information
gseguin committed Feb 28, 2014
1 parent b003c20 commit b9b8fcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ module.exports = function( Release ) {
process.chdir( repo );
Release.git( "add ." , "Error adding files." );
Release.git( "commit -m '" + commitMessage + "'" , "Error commiting demos files." );
Release.exec( "npm version patch" );
if ( !Release.isTest ) {
console.log( "Pushing to github..." );
Release.git( "push", "Error pushing demos to github." );
Release.git( "push --tags origin master", "Error pushing demos to github." );
}
console.log();
},
Expand Down

0 comments on commit b9b8fcf

Please sign in to comment.