Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(release): specifies upstream URL when pushing to material repo
Browse files Browse the repository at this point in the history
Closes #7852
  • Loading branch information
Robert Messerle authored and ThomasBurleson committed Apr 2, 2016
1 parent 8ba034c commit bbaa5b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
function createChangelog () {
start(`Generating changelog from ${oldVersion.cyan} to ${newVersion.cyan}...`);

exec('git fetch --tags');
exec(`git fetch --tags ${origin}`);
exec(`git checkout v${lastMajorVer} -- CHANGELOG.md`);
exec(`gulp changelog --sha=$(git merge-base v${lastMajorVer} HEAD)`);

Expand Down Expand Up @@ -180,7 +180,7 @@
pushCmds.push(
`git tag v${newVersion} -f`,
`git push ${origin} HEAD`,
'git push --tags'
`git push --tags ${origin}`
);
}

Expand Down Expand Up @@ -360,7 +360,7 @@
'git add CHANGELOG.md',
'git add package.json',
`git commit -m "update version number in package.json to ${newVersion}"`,
'git push'
`git push ${origin} master`
);

function buildCommand () {
Expand Down

0 comments on commit bbaa5b8

Please sign in to comment.