File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : build clean test package serve run-compose-test
2
2
PKGS := $(shell go list ./... | grep -v /vendor/)
3
- VERSION := $(shell git describe --always)
3
+ VERSION := $(shell git describe --always |sed -e "s/^v//" )
4
4
5
5
build :
6
6
@echo " Compiling source"
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ PREINSTALL_SCRIPT=$TARGET/pre-install.sh
38
38
POSTUNINSTALL_SCRIPT=$TARGET /post-uninstall.sh
39
39
40
40
LICENSE=MIT
41
- VERSION=` git describe --always`
42
- URL=https://docs .loraserver.io/$NAME /
41
+ VERSION=` git describe --always | sed -e " s/^v// " `
42
+ URL=https://www .loraserver.io/$NAME /
43
43
44
44
VENDOR=" LoRa Server project"
45
45
DESCRIPTION=" LoRa Gateway Bridge abstracts the packet_forwarder protocol into JSON over MQTT"
You can’t perform that action at this time.
0 commit comments