From c39efba812209c8906315596cc0a56e54ae8590a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 21:19:10 +0000 Subject: [PATCH] fix: change release please configuration for jsr.json (#1174) --- release-please-config.json | 6 +++++- scripts/build-deno | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index 377a76e99..1aa2fb613 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -63,6 +63,10 @@ "extra-files": [ "src/version.ts", "README.md", - "jsr.json" + { + "type": "json", + "path": "jsr.json", + "jsonpath": "$.version" + } ] } diff --git a/scripts/build-deno b/scripts/build-deno index 7d542cf24..4a2000a66 100755 --- a/scripts/build-deno +++ b/scripts/build-deno @@ -14,6 +14,6 @@ for dir in dist-deno/_shims dist-deno/_shims/auto; do mv -- "$file" "${file%-deno.ts}.ts" done done -for file in LICENSE CHANGELOG.md; do +for file in README.md LICENSE CHANGELOG.md; do if [ -e "${file}" ]; then cp "${file}" dist-deno; fi done