MT#10277 Fix NGCP_VERSION to track all the changes in repo

At the moment deploymnent.sh file on public website
http://deb.sipwise.com/netscript/master/deployment.sh
contains the commit ID of latest file change, but not
the latest commit ID in repository.

From one side it is correct and useful, but from another side
it confuses a lot when you check the verion is Git/Deb and
on public site http://deb.sipwise.com/netscript/

IMHO, it worth to keep them in sync to prevent confusing.

Change-Id: I7db7949ccc780314146a7eeada3dbf197e3fcb35
changes/34/834/1
Alexander Lutay 10 years ago
parent 6429ef8f41
commit b28adb7642

@ -1,6 +1,6 @@
# for syntax checks
BASH_SCRIPTS = deployment.sh
NGCP_VERSION ?= $(shell git log --pretty=format:"%h" -1 deployment.sh)
NGCP_VERSION ?= $(shell git log --pretty=format:"%h" -1)
NGCP_VERSION := $(strip $(NGCP_VERSION))
syntaxcheck: shellcheck

Loading…
Cancel
Save