build: fix deploy script condition (take 13)

This commit is contained in:
Hans Larsen 2017-06-06 18:05:01 -07:00
parent 01c7fee697
commit d220c73de4
No known key found for this signature in database
GPG Key ID: 537DD9CDA3032687

View File

@ -144,10 +144,10 @@ function main() {
`https://${process.env['GITHUB_ACCESS_TOKEN']}@github.com`);
console.log(green('Done. Pushing...'));
ngToolsWebpackBuildsExec.git('push', '-f', branchName);
ngToolsWebpackBuildsExec.git('push', '--tags', branchName);
cliBuildsExec.git('push', '-f', branchName);
cliBuildsExec.git('push', '--tags', branchName);
ngToolsWebpackBuildsExec.git('push', '-f', 'origin', branchName);
ngToolsWebpackBuildsExec.git('push', '--tags', 'origin', branchName);
cliBuildsExec.git('push', '-f', 'origin', branchName);
cliBuildsExec.git('push', '--tags', 'origin', branchName);
}
main();