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

Commit cdecdd2

Browse files
Robert Messerlejelbourn
authored andcommitted
fix(release): replace https urls with ssh versions to prevent typing password during release
Closes #8070
1 parent ea0870f commit cdecdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
var pushCmds = [ 'rm abort push' ];
1313
var cleanupCmds = [];
1414
var defaultOptions = { encoding: 'utf-8' };
15-
var origin = 'https://github.com/angular/material.git';
15+
var origin = 'git@github.com:angular/material.git';
1616
var lineWidth = 80;
1717
var lastMajorVer = JSON.parse(exec('curl https://material.angularjs.org/docs.json')).latest;
1818
var newVersion;
@@ -196,7 +196,7 @@
196196
function cloneRepo (repo) {
197197
start(`Cloning ${repo.cyan} from Github...`);
198198
exec(`rm -rf ${repo}`);
199-
exec(`git clone https://github.com/angular/${repo}.git --depth=1`);
199+
exec(`git clone git@github.com:angular/${repo}.git --depth=1`);
200200
done();
201201
cleanupCmds.push(`rm -rf ${repo}`);
202202
}

0 commit comments

Comments
 (0)