read version from file
This commit is contained in:
parent
d63a51b9a9
commit
ee9a7072bd
|
@ -9,6 +9,7 @@
|
||||||
# or
|
# or
|
||||||
# make install (will go to /usr/bin, /usr/lib, etc...)
|
# make install (will go to /usr/bin, /usr/lib, etc...)
|
||||||
OS = $(shell uname -s)
|
OS = $(shell uname -s)
|
||||||
|
VERSION = $(shell cat VERSION)
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
JARSUFFIX=mac
|
JARSUFFIX=mac
|
||||||
|
@ -215,7 +216,7 @@ mvn_install:
|
||||||
mvn install:install-file -Dfile=java/miniupnpc_$(JARSUFFIX).jar \
|
mvn install:install-file -Dfile=java/miniupnpc_$(JARSUFFIX).jar \
|
||||||
-DgroupId=com.github \
|
-DgroupId=com.github \
|
||||||
-DartifactId=miniupnp \
|
-DartifactId=miniupnp \
|
||||||
-Dversion=1.7-SNAPSHOT \
|
-Dversion=$(VERSION)-SNAPSHOT \
|
||||||
-Dpackaging=jar \
|
-Dpackaging=jar \
|
||||||
-Dclassifier=$(JARSUFFIX) \
|
-Dclassifier=$(JARSUFFIX) \
|
||||||
-DgeneratePom=true \
|
-DgeneratePom=true \
|
||||||
|
|
Loading…
Reference in New Issue