From 523ba132592de8923d6db727191d7bef857ada65 Mon Sep 17 00:00:00 2001 From: CismonX Date: Mon, 12 Apr 2021 20:06:11 +0800 Subject: [PATCH] Update git repo URL. --- package.json | 2 +- scripts/package.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e01bc59..cb02855 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "homepage": "https://sv.gnu.org/p/vscode-texinfo", "repository": { "type": "git", - "url": "https://git.sv.gnu.org/cgit/vscode-texinfo.git/tree" + "url": "https://git.sv.gnu.org/cgit/vscode-texinfo.git" }, "icon": "assets/texinfo.png", "devDependencies": { diff --git a/scripts/package.sh b/scripts/package.sh index ceab6b9..4ac6b5d 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -25,7 +25,7 @@ for file in ${MD_FILES[@]}; do tail -n +9 $file.$BACKUP_SUFFIX > $file done json -j0 -I -e "$(cat ./scripts/package-json-cleanup.js)" -f package.json -vsce package --baseContentUrl=$(json -f package.json repository.url) +vsce package --baseContentUrl=$(json -f package.json repository.url)/tree for file in ${JSON_FILES[@]}; do mv $file.$BACKUP_SUFFIX $file done