Skip to content

Commit

Permalink
Updated Makefile to use a better version retrieve method
Browse files Browse the repository at this point in the history
  • Loading branch information
RoadToDream committed Sep 11, 2023
1 parent a0e11d1 commit 9428a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define variables
SRC_DIR := src
BUILD_DIR := build
VERSION:=$(shell grep em:version src/install.rdf | head -n 1 | sed -e 's/ *<em:version>//' -e 's/<\/em:version>//')
VERSION:=$(shell grep em:version src/install.rdf | sed -n 's/.*<em:version>\(.*\)<\/em:version>.*/\1/p')
ZIP_FILE_NAME := zotmeta-$(VERSION).xpi
ZIP_FILE_PATH := $(BUILD_DIR)/$(ZIP_FILE_NAME)
JSON_FILE := updates.json
Expand Down

0 comments on commit 9428a39

Please sign in to comment.