From fd31bcc4202231570fd38aec3e985f9514ccd132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Tue, 26 Mar 2024 21:02:30 +0900 Subject: [PATCH 1/2] build: use pnpm exec --- .releaserc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 2a6cb44..6c52758 100644 --- a/.releaserc +++ b/.releaserc @@ -26,7 +26,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "pnpm build && tsx scripts/updateMetadata.ts ${nextRelease.gitHead} ${nextRelease.notes}" + "prepareCmd": "pnpm build && pnpm exec tsx scripts/updateMetadata.ts ${nextRelease.gitHead} ${nextRelease.notes}" } ], [ From 7375cc53e93eddf07007cc074152873b4c8f3022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Tue, 26 Mar 2024 21:04:37 +0900 Subject: [PATCH 2/2] build: wrap params in quotes --- .releaserc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 6c52758..10ffef5 100644 --- a/.releaserc +++ b/.releaserc @@ -26,7 +26,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "pnpm build && pnpm exec tsx scripts/updateMetadata.ts ${nextRelease.gitHead} ${nextRelease.notes}" + "prepareCmd": "pnpm build && pnpm exec tsx scripts/updateMetadata.ts \"${nextRelease.gitHead}\" \"${nextRelease.notes}\"" } ], [