X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=coverity-scan.sh;h=8ea43345317b3b645924f4dcc052c3675b89f048;hp=6bb18e4117b27309c5574eb813e1e933e480cece;hb=65cd61cc91763c1d95c2c2d2701c1f7be49a3a4c;hpb=2015f140a1e26d87dc07ca21f677bc4f8d50b984 diff --git a/coverity-scan.sh b/coverity-scan.sh index 6bb18e41..8ea43345 100755 --- a/coverity-scan.sh +++ b/coverity-scan.sh @@ -18,6 +18,9 @@ covbuild="$(which cov-build 2>/dev/null || command -v cov-build 2>/dev/null)" echo "The command ${covbuild} is not executable. Save command the full filename of cov-build in .coverity-build" && \ exit 1 +version="$(cat config.h | grep "^#define PACKAGE_VERSION" | cut -d '"' -f 2)" +echo >&2 "Working on netdata version: ${version}" + echo >&2 "Cleaning up old builds..." make clean || exit 1 @@ -34,6 +37,6 @@ tar czvf netdata-coverity-analysis.tgz cov-int || exit 1 curl --form token="${token}" \ --form email=costa@tsaousis.gr \ --form file=@netdata-coverity-analysis.tgz \ - --form version="1.3.0rc1" \ - --form description="Description" \ + --form version="${version}" \ + --form description="netdata, real-time performance monitoring, done right." \ https://scan.coverity.com/builds?project=firehol%2Fnetdata