Skip to content

Commit

Permalink
Update Makefile to update version
Browse files Browse the repository at this point in the history
  • Loading branch information
RoadToDream committed Sep 11, 2023
1 parent 5580f04 commit 9614d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ $(ZIP_FILE_PATH): | $(BUILD_DIR)
# Target to generate a updates.json file
$(JSON_FILE): | $(BUILD_DIR)
jq ".addons[\"[email protected]\"].updates[0].update_hash = \"sha256:`shasum -a 256 $(ZIP_FILE_PATH) | cut -d' ' -f1`\"" updates.json.tmpl | \
jq ".addons[\"[email protected]\"].updates[0].update_link = \"https://github.com/RoadToDream/ZotMeta/releases/download/v$(VERSION)/$(ZIP_FILE_NAME)\"" > $@
jq ".addons[\"[email protected]\"].updates[0].update_link = \"https://github.com/RoadToDream/ZotMeta/releases/download/v$(VERSION)/$(ZIP_FILE_NAME)\"" | \
jq ".addons[\"[email protected]\"].updates[0].version = \"${VERSION}\"" > $@

# Create the build directory if it doesn't exist
$(BUILD_DIR):
Expand Down
2 changes: 1 addition & 1 deletion updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"version": "1.0",
"update_link": "https://github.com/RoadToDream/ZotMeta/releases/download/v1.0/zotmeta-1.0.xpi",
"update_hash": "sha256:06d19b3c13b663c806f9ed3dad4a18a005eb04d2094533d452299d22f62e0ae3",
"update_hash": "sha256:8449f19a58d07fd957cf1d152d24da06eccb0cb78a82456fb4509479716ff677",
"applications": {
"gecko": {
"strict_min_version": "60.0"
Expand Down

0 comments on commit 9614d60

Please sign in to comment.