Skip to content

Commit c15e534

Browse files
committed
ci(gh actions): 💚 update releaserc
trying to fix the bug when releasing/merging the release PR. simplified the prepareRelease script and prepareCmd call.
1 parent 89b73fd commit c15e534

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[
1919
"@semantic-release/exec",
2020
{
21-
"prepareCmd": "./scripts/prepareRelease.sh ${nextRelease.version} '${nextRelease.notes}'"
21+
"prepareCmd": "./scripts/prepareRelease.sh ${nextRelease.version}"
2222
}
2323
],
2424
[

scripts/prepareRelease.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if ! git log -1 --pretty=%B | grep -q "chore(release): :bookmark: $1"; then
44
pnpm run version
55
git add manifest.json versions.json package.json docs/CHANGELOG.md
66
git checkout -b release/"$1"
7-
git commit -m "chore(release): :bookmark: $1 [skip ci]\n\n$2"
7+
git commit -m "chore(release): :bookmark: $1 [skip ci]"
88
git push --set-upstream origin release/"$1" --force
99
if gh pr list | grep -q "release/$1"; then
1010
echo "a release PR already exists"

0 commit comments

Comments
 (0)