diff --git a/Makefile b/Makefile index f5675e8..7078cff 100644 --- a/Makefile +++ b/Makefile @@ -16,17 +16,6 @@ else endif INSTALLNAME = cosmic-dock@system76.com -# The command line passed variable VERSION is used to set the version string -# in the metadata and in the generated zip-file. If no VERSION is passed, the -# current commit SHA1 is used as version number in the metadata while the -# generated zip file has no string attached. -ifdef VERSION - VSTRING = _v$(VERSION) -else - VERSION = $(shell git rev-parse HEAD) - VSTRING = -endif - all: extension clean: @@ -91,4 +80,3 @@ _build: all mkdir -p $$lf/LC_MESSAGES; \ cp $$l $$lf/LC_MESSAGES/dashtodock.mo; \ done; - sed -i 's/"version": -1/"version": "$(VERSION)"/' _build/metadata.json;