Skip to content

Commit 4e1046e

Browse files
carlwgeorgejackpot51
authored andcommitted
Remove version sed from Makefile
Since version 63, the version has been set explicitly in metadata.json. 651234d
1 parent 69b87a4 commit 4e1046e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Makefile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,6 @@ else
1616
endif
1717
INSTALLNAME = cosmic-dock@system76.com
1818

19-
# The command line passed variable VERSION is used to set the version string
20-
# in the metadata and in the generated zip-file. If no VERSION is passed, the
21-
# current commit SHA1 is used as version number in the metadata while the
22-
# generated zip file has no string attached.
23-
ifdef VERSION
24-
VSTRING = _v$(VERSION)
25-
else
26-
VERSION = $(shell git rev-parse HEAD)
27-
VSTRING =
28-
endif
29-
3019
all: extension
3120

3221
clean:
@@ -91,4 +80,3 @@ _build: all
9180
mkdir -p $$lf/LC_MESSAGES; \
9281
cp $$l $$lf/LC_MESSAGES/dashtodock.mo; \
9382
done;
94-
sed -i 's/"version": -1/"version": "$(VERSION)"/' _build/metadata.json;

0 commit comments

Comments
 (0)