@@ -18,8 +18,8 @@ const releaseRules = {
1818 patch : convert ( semverObj . semver . patch )
1919}
2020
21- function convert ( arr ) {
22- const res = [ ]
21+ function convert ( arr ) {
22+ const res = [ ]
2323 for ( const v of arr ) {
2424 res . push ( `:${ v } :` )
2525 }
@@ -38,54 +38,54 @@ const releaseNotes = {
3838 return dateFormat ( date , 'mmm dd' )
3939 } ,
4040 releaseTypeText : function ( type ) {
41- if ( type === 'major' ) {
41+ if ( type === 'major' ) {
4242 return "Breaking Release!"
4343 }
44- if ( type === 'minor' ) {
44+ if ( type === 'minor' ) {
4545 return "Feature Release!"
4646 }
47- if ( type === 'patch' ) {
47+ if ( type === 'patch' ) {
4848 return "Fix Release"
4949 }
5050 } ,
5151 releaseTypeEmoji : function ( type ) {
52- if ( type === 'major' ) {
52+ if ( type === 'major' ) {
5353 return ":confetti_ball: "
5454 }
55- if ( type === 'minor' ) {
55+ if ( type === 'minor' ) {
5656 return ":star2: "
5757 }
58- if ( type === 'patch' ) {
58+ if ( type === 'patch' ) {
5959 return ""
6060 }
6161 } ,
6262 majorHeader : function ( commits ) {
6363 for ( const gitmojiObj of gitmojisObj . gitmojis ) {
64- if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'major' ) {
64+ if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'major' ) {
6565 return "## Breaking Changes"
6666 }
6767 }
6868 return ""
6969 } ,
7070 minorHeader : function ( commits ) {
7171 for ( const gitmojiObj of gitmojisObj . gitmojis ) {
72- if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'minor' ) {
72+ if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'minor' ) {
7373 return "## Features"
7474 }
7575 }
7676 return ""
7777 } ,
7878 patchHeader : function ( commits ) {
7979 for ( const gitmojiObj of gitmojisObj . gitmojis ) {
80- if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'patch' ) {
80+ if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'patch' ) {
8181 return "## Fixes"
8282 }
8383 }
8484 return ""
8585 } ,
8686 noneHeader : function ( commits ) {
8787 for ( const gitmojiObj of gitmojisObj . gitmojis ) {
88- if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'none' ) {
88+ if ( gitmojiObj . emoji in commits && gitmojiObj . semver === 'none' ) {
8989 return "## Miscellaneous"
9090 }
9191 }
@@ -94,8 +94,8 @@ const releaseNotes = {
9494 } ,
9595 issueResolution : {
9696 template : '{baseUrl}/{owner}/{repo}/issues/{ref}' ,
97- baseUrl : 'https://github.com ' ,
98- source : 'github.com '
97+ baseUrl : 'https://code.ops.pcc.fyi ' ,
98+ source : 'code.ops.pcc.fyi '
9999 }
100100}
101101
0 commit comments