From 998167008ec6d283fea7446ec49def9a60a15d25 Mon Sep 17 00:00:00 2001 From: Carl George Date: Sun, 18 Jul 2021 19:18:24 -0500 Subject: [PATCH] Remove version sed from Makefile Since version 63, the version has been set explicitly in metadata.json. 651234d42d1c94240b4aa528dfddf6f890d2f8a7 --- Makefile | 12 ------------ 1 file changed, 12 deletions(-) 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;