build: store version into .env file
This commit is contained in:
parent
66d2b99762
commit
ab2f0f5bd6
4
Makefile
4
Makefile
|
@ -1,4 +1,6 @@
|
|||
|
||||
include .env
|
||||
|
||||
clean:
|
||||
mvn clean
|
||||
|
||||
|
@ -6,4 +8,4 @@ build:
|
|||
mvn package
|
||||
|
||||
run:
|
||||
java -jar target/gytebot-1.0.0-jar-with-dependencies.jar
|
||||
java -jar target/gytebot-${VERSION}-jar-with-dependencies.jar
|
||||
|
|
Loading…
Reference in New Issue