diff --git a/.env b/.env new file mode 100644 index 0000000..5226012 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +VERSION=2.0.0 diff --git a/Makefile b/Makefile index c72b42a..35bcd0f 100644 --- a/Makefile +++ b/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 diff --git a/pom.xml b/pom.xml index 33a93fb..080078a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 me.srvstr gytebot - 1.0.0 + 2.0.0 16 16