From f5194b04c9a53ef5bb07afffe629d689531e28a7 Mon Sep 17 00:00:00 2001 From: Denis Maier Date: Tue, 6 Aug 2024 11:27:39 +0200 Subject: [PATCH] correct update links (#31) * Update updates.json * Update update.rdf * Update update_files.sh --- scripts/update_files.sh | 2 +- update.rdf | 2 +- updates.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/update_files.sh b/scripts/update_files.sh index 5117488..c07036c 100644 --- a/scripts/update_files.sh +++ b/scripts/update_files.sh @@ -8,7 +8,7 @@ export $(grep -v '^#' .env | xargs) echo "Updating update manifests for $BASE_NAME-$VERSION" -updatelink="https://github.com/${REPO_OWNER}/${REPO_NAME}/releases/download/${VERSION}/${BASE_NAME}-${VERSION}.xpi" +updatelink="https://github.com/${REPO_OWNER}/${REPO_NAME}/releases/download/v${VERSION}/${BASE_NAME}-${VERSION}.xpi" update_hash="sha256:$(shasum -a 256 "${BUILD_DIR}/${BASE_NAME}-${VERSION}.xpi" | cut -d' ' -f1)" jq --arg version "$VERSION" \ diff --git a/update.rdf b/update.rdf index da277a5..78ebb7c 100644 --- a/update.rdf +++ b/update.rdf @@ -4,7 +4,7 @@ "updates": [ { "version": "0.2.11", - "update_link": "https://github.com/ub-unibe-ch/zotero-swissbib-bb-locations/releases/download/0.2.11/zotero-swisscovery-ubbern-locations-0.2.11.xpi", + "update_link": "https://github.com/ub-unibe-ch/zotero-swissbib-bb-locations/releases/download/v0.2.11/zotero-swisscovery-ubbern-locations-0.2.11.xpi", "update_hash": "sha256:b53fdb618e4561f1fdbbf2017450080c5fdbc8ccb53fa6892f891849bc3c94b7", "applications": { "gecko": { diff --git a/updates.json b/updates.json index da277a5..78ebb7c 100644 --- a/updates.json +++ b/updates.json @@ -4,7 +4,7 @@ "updates": [ { "version": "0.2.11", - "update_link": "https://github.com/ub-unibe-ch/zotero-swissbib-bb-locations/releases/download/0.2.11/zotero-swisscovery-ubbern-locations-0.2.11.xpi", + "update_link": "https://github.com/ub-unibe-ch/zotero-swissbib-bb-locations/releases/download/v0.2.11/zotero-swisscovery-ubbern-locations-0.2.11.xpi", "update_hash": "sha256:b53fdb618e4561f1fdbbf2017450080c5fdbc8ccb53fa6892f891849bc3c94b7", "applications": { "gecko": {