Skip to content

Commit bd10dc5

Browse files
onesignal-deployOneSignal
andauthored
chore: add v5.6.0 package updates (#77)
Co-authored-by: OneSignal <noreply@onesignal.com>
1 parent 30ba50b commit bd10dc5

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: |
2929
output=$(npx -p semantic-release \
3030
-p @semantic-release/changelog \
31+
-p @semantic-release/exec \
3132
-p @semantic-release/git \
3233
-p @semantic-release/github \
3334
-p conventional-changelog-conventionalcommits \

.releaserc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes} [skip ci]"
6969
}
7070
],
71-
"@semantic-release/github"
71+
"@semantic-release/github",
72+
[
73+
"@semantic-release/exec",
74+
{
75+
"successCmd": "case '${nextRelease.version}' in *-alpha*) ch=alpha;; *-beta*) ch=beta;; *) ch=current;; esac; body=$(gh release view '${nextRelease.gitTag}' --json body --jq .body); case \"$body\" in '**Channels:**'*) exit 0;; esac; printf '**Channels:** %s\\n\\n%s' \"$ch\" \"$body\" | gh release edit '${nextRelease.gitTag}' --notes-file -"
76+
}
77+
]
7278
]
7379
}

0 commit comments

Comments
 (0)