diff --git a/Makefile b/Makefile index 98073b0..1464a10 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,11 @@ TEST_PROJ=my-new-service get-version: @echo "Version info:\n" - @echo "\t./bin/create-tool:\t" `./lfetool -v` + @echo "\t./bin/create-tool:\t" `grep 'version=' ./bin/create-tool | \ + head -1|awk -F= '{print $$2}'` @echo "\t./test/tests.sh:\t" `grep expectedversion test/tests.sh|head -1| \ awk -F= '{print $$2}'|sed -e 's/"//g'` + @echo "\tBuilt lfetool:\t\t" `./lfetool -v` @echo "\tLatest tag:\t\t" `git tag|tail -1` @echo diff --git a/bin/create-tool b/bin/create-tool index 1f1618a..5ae7383 100755 --- a/bin/create-tool +++ b/bin/create-tool @@ -1,6 +1,6 @@ #!/usr/bin/env bash -version=0.2.4 +version=0.2.5 tooltemplate="plugins/lfetool/templates/lfetool.tmpl" compresstemplate="plugins/lfetool/templates/compressed.tmpl" temp="lfetool-temp" diff --git a/test/tests.sh b/test/tests.sh index 7e7fd87..d3778f6 100755 --- a/test/tests.sh +++ b/test/tests.sh @@ -2,7 +2,7 @@ # common vars ############# -expectedversion="0.2.4" +expectedversion="0.2.5" scriptname="my-fibo" libname="my-lib" svcname="my-service"