Skip to content

Commit

Permalink
correct update links (#31)
Browse files Browse the repository at this point in the history
* Update updates.json

* Update update.rdf

* Update update_files.sh
  • Loading branch information
denismaier authored Aug 6, 2024
1 parent d45c206 commit f5194b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/update_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit f5194b0

Please sign in to comment.