forked from netdata/netdata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated coverity scan to detect netdata version
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 protected] \ | ||
--form [email protected] \ | ||
--form version="1.6.0rc1" \ | ||
--form description="Description" \ | ||
--form version="${version}" \ | ||
--form description="netdata, real-time performance monitoring, done right." \ | ||
https://scan.coverity.com/builds?project=firehol%2Fnetdata |