mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 20:02:40 +08:00
ci: use angular-cli repo instead of devkit
This commit is contained in:
parent
a8f6586b3f
commit
abc62edd26
@ -60,7 +60,7 @@ export default function(opts: SnapshotsOptions, logger: logging.Logger) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const root = fs.mkdtempSync(path.join(os.tmpdir(), 'angular-devkit-publish-'));
|
||||
const root = fs.mkdtempSync(path.join(os.tmpdir(), 'angular-cli-publish-'));
|
||||
const message = execSync(`git log --format="%h %s" -n1`).toString().trim();
|
||||
|
||||
const githubToken = (
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
const issue = reference.issue;
|
||||
const owner = reference.owner || 'angular';
|
||||
const repository = reference.repository || (issue > 10000 ? 'angular-cli' : 'devkit');
|
||||
const repository = reference.repository || 'angular-cli';
|
||||
%>[Closes #<%= issue %>](https://github.com/<%= owner %>/<%= repository %>/issues/<%= issue %>)<%
|
||||
}
|
||||
%>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
const issue = reference.issue;
|
||||
const owner = reference.owner || 'angular';
|
||||
const repository = reference.repository || (issue > 10000 ? 'angular-cli' : 'devkit');
|
||||
const repository = reference.repository || 'angular-cli';
|
||||
%>[Closes #<%= issue %>](https://github.com/<%= owner %>/<%= repository %>/issues/<%= issue %>)<%
|
||||
}
|
||||
%>
|
||||
|
@ -32,7 +32,7 @@ export default function (argv: ValidateCommitsOptions, logger: logging.Logger) {
|
||||
let sha = '';
|
||||
|
||||
if (prNumber) {
|
||||
const url = `https://api.github.com/repos/angular/devkit/pulls/${prNumber}`;
|
||||
const url = `https://api.github.com/repos/angular/angular-cli/pulls/${prNumber}`;
|
||||
const prJson = JSON.parse(execSync(`curl "${url}"`, {
|
||||
stdio: ['ignore', 'pipe', 'ignore'],
|
||||
encoding: 'utf8',
|
||||
|
Loading…
x
Reference in New Issue
Block a user