mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Default version to 9999 in case of shallow clone so update notifications are never shown #319
This commit is contained in:
4
Makefile
4
Makefile
@@ -83,8 +83,8 @@ _build: all
|
|||||||
mkdir -p $$lf/LC_MESSAGES; \
|
mkdir -p $$lf/LC_MESSAGES; \
|
||||||
cp $$l $$lf/LC_MESSAGES/dash-to-panel.mo; \
|
cp $$l $$lf/LC_MESSAGES/dash-to-panel.mo; \
|
||||||
done;
|
done;
|
||||||
ifdef COMMIT
|
ifneq ($(and $(COMMIT),$(VERSION)),)
|
||||||
sed -i 's/"version": [[:digit:]][[:digit:]]*/"version": $(VERSION),\n"commit": "$(COMMIT)"/' _build/metadata.json;
|
sed -i 's/"version": [[:digit:]][[:digit:]]*/"version": $(VERSION),\n"commit": "$(COMMIT)"/' _build/metadata.json;
|
||||||
else
|
else ifneq ($(VERSION),)
|
||||||
sed -i 's/"version": [[:digit:]][[:digit:]]*/"version": $(VERSION)/' _build/metadata.json;
|
sed -i 's/"version": [[:digit:]][[:digit:]]*/"version": $(VERSION)/' _build/metadata.json;
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
"shell-version": [ "3.18", "3.20", "3.22", "3.24", "3.26" ],
|
"shell-version": [ "3.18", "3.20", "3.22", "3.24", "3.26" ],
|
||||||
"url": "https://github.com/jderose9/dash-to-panel",
|
"url": "https://github.com/jderose9/dash-to-panel",
|
||||||
"gettext-domain": "dash-to-panel",
|
"gettext-domain": "dash-to-panel",
|
||||||
"version": 0
|
"version": 9999
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user