From ca98dac89a93c29a591c44bf5ab3647aa2a4c195 Mon Sep 17 00:00:00 2001 From: kiki-kanri Date: Tue, 24 Sep 2024 13:52:02 +0800 Subject: [PATCH] chore: update script --- build-and-publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 build-and-publish.sh diff --git a/build-and-publish.sh b/build-and-publish.sh old mode 100644 new mode 100755 index 6dcd34e..a236896 --- a/build-and-publish.sh +++ b/build-and-publish.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd $(dirname "$(readlink -f "$0")") +cd "$(dirname "$(readlink -f "$0")")" pnpm run build && cp ./LICENSE ./package.json ./README.md ./dist && cd ./dist && npm publish