Skip to content

Commit 15d6ae8

Browse files
✨ update repo urls
1 parent 1c958f5 commit 15d6ae8

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
build
22
.playground
3-
.release
3+
.release
4+
.idea

semantic-release-template/.releaserc.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{gitmoji}} {{subject}} [`{{commit.short}}`](https://github.com/{{owner}}/{{repo}}/commit/{{commit.short}}) `{{shortDate committerDate}}`
1+
{{gitmoji}} {{subject}} [`{{commit.short}}`](https://code.ops.pcc.fyi/{{owner}}/{{repo}}/commit/{{commit.short}}) {{this.author.name}} `{{shortDate committerDate}}`

semantic-release-template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"dependencies": {},
55
"devDependencies": {
66
"@saithodev/semantic-release-gitea": "^2.1.0",
7-
"semantic-release-gitmoji": "^1.6.4"
7+
"semantic-release-gitmoji": "^1.6.5"
88
}
99
}

0 commit comments

Comments
 (0)