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": {