Skip to content

Commit d1218f3

Browse files
committed
Fix package script.
1 parent 1256305 commit d1218f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: build clean test package serve run-compose-test
22
PKGS := $(shell go list ./... | grep -v /vendor/)
3-
VERSION := $(shell git describe --always)
3+
VERSION := $(shell git describe --always |sed -e "s/^v//")
44

55
build:
66
@echo "Compiling source"

packaging/package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ PREINSTALL_SCRIPT=$TARGET/pre-install.sh
3838
POSTUNINSTALL_SCRIPT=$TARGET/post-uninstall.sh
3939

4040
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/
4343
4444
VENDOR="LoRa Server project"
4545
DESCRIPTION="LoRa Gateway Bridge abstracts the packet_forwarder protocol into JSON over MQTT"

0 commit comments

Comments
 (0)