Adding a target to force push master branch

This commit is contained in:
Pranav K 2014-08-18 10:23:12 -07:00
parent f3d544bc1f
commit 25b1243c7f
1 changed files with 6 additions and 0 deletions

View File

@ -119,6 +119,12 @@ functions
git gitCommand='fetch origin'
git gitCommand='checkout origin/release -B master'
#push-master
-// Resets master branch to release
for each='var repo in GetAllRepos()'
var gitFolder = '${repo}'
git gitCommand='push origin master:master -f'
#only-compile target='compile'
@{
var failed = new Dictionary<string, Exception>();