Skip to content

Commit a40053e

Browse files
hanslfilipesilva
authored andcommitted
ci: use angular-cli repo instead of devkit
1 parent 04c5b6f commit a40053e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

scripts/snapshots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default function(opts: SnapshotsOptions, logger: logging.Logger) {
6060
process.exit(1);
6161
}
6262

63-
const root = fs.mkdtempSync(path.join(os.tmpdir(), 'angular-devkit-publish-'));
63+
const root = fs.mkdtempSync(path.join(os.tmpdir(), 'angular-cli-publish-'));
6464
const message = execSync(`git log --format="%h %s" -n1`).toString().trim();
6565

6666
const githubToken = (

scripts/templates/changelog-feat.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
const issue = reference.issue;
1919
const owner = reference.owner || 'angular';
20-
const repository = reference.repository || (issue > 10000 ? 'angular-cli' : 'devkit');
20+
const repository = reference.repository || 'angular-cli';
2121
%>[Closes #<%= issue %>](https://github.com/<%= owner %>/<%= repository %>/issues/<%= issue %>)<%
2222
}
2323
%>

scripts/templates/changelog-fix.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
const issue = reference.issue;
1919
const owner = reference.owner || 'angular';
20-
const repository = reference.repository || (issue > 10000 ? 'angular-cli' : 'devkit');
20+
const repository = reference.repository || 'angular-cli';
2121
%>[Closes #<%= issue %>](https://github.com/<%= owner %>/<%= repository %>/issues/<%= issue %>)<%
2222
}
2323
%>

scripts/validate-commits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function (argv: ValidateCommitsOptions, logger: logging.Logger) {
3232
let sha = '';
3333

3434
if (prNumber) {
35-
const url = `https://api.github.com/repos/angular/devkit/pulls/${prNumber}`;
35+
const url = `https://api.github.com/repos/angular/angular-cli/pulls/${prNumber}`;
3636
const prJson = JSON.parse(execSync(`curl "${url}"`, {
3737
stdio: ['ignore', 'pipe', 'ignore'],
3838
encoding: 'utf8',

0 commit comments

Comments
 (0)