Skip to content

Commit 744e4f7

Browse files
committed
fix: remove version and date from GitHub release
The version and date are already displayed on the GitHub release page. Additionally, the `v` prefix has been removed from the title.
1 parent 47572ab commit 744e4f7

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

ng-dev/release/notes/context.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ const typesToIncludeInReleaseNotes = Object.values(COMMIT_TYPES)
1717
.filter((type) => type.releaseNotesLevel === ReleaseNotesLevel.Visible)
1818
.map((type) => type.name);
1919

20-
/** List of commit authors which are bots. */
21-
const botsAuthorNames = [
22-
'dependabot[bot]',
23-
'Renovate Bot',
24-
'angular-robot',
25-
'angular-robot[bot]',
26-
'Angular Robot',
27-
];
28-
2920
/** Data used for context during rendering. */
3021
export interface RenderContextData {
3122
title: string | false;

ng-dev/release/notes/templates/github-release.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
*/
88

99
export default `
10-
<a name="<%- urlFragmentForRelease %>"></a>
11-
# <%- version %><% if (title) { %> "<%- title %>"<% } %> (<%- dateStamp %>)
12-
1310
<%_
1411
const commitsInChangelog = commits.filter(includeInReleaseNotes());
1512
for (const group of asCommitGroups(commitsInChangelog)) {

ng-dev/release/publish/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ export abstract class ReleaseAction {
666666

667667
await this.git.github.repos.createRelease({
668668
...this.git.remoteParams,
669-
name: `v${releaseNotes.version}`,
669+
name: releaseNotes.version.toString(),
670670
tag_name: tagName,
671671
prerelease: isPrerelease,
672672
make_latest: showAsLatestOnGitHub ? 'true' : 'false',

0 commit comments

Comments
 (0)