summaryrefslogtreecommitdiffstats
path: root/coverity-scan.sh
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-04-30 16:09:37 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2017-04-30 16:09:37 +0000
commit51f689a8e17ff3929acd2dbf39e936d2cd3ac723 (patch)
tree92e54f543171b69dcbc639be09d11221cf96ba28 /coverity-scan.sh
parentNew upstream version 1.5.0+dfsg (diff)
downloadnetdata-51f689a8e17ff3929acd2dbf39e936d2cd3ac723.tar.xz
netdata-51f689a8e17ff3929acd2dbf39e936d2cd3ac723.zip
New upstream version 1.6.0+dfsgupstream/1.6.0+dfsg
Diffstat (limited to '')
-rwxr-xr-xcoverity-scan.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/coverity-scan.sh b/coverity-scan.sh
index a690fead7..8ea433453 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.5.0rc1" \
- --form description="Description" \
+ --form version="${version}" \
+ --form description="netdata, real-time performance monitoring, done right." \
https://scan.coverity.com/builds?project=firehol%2Fnetdata