mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-02-18 15:55:39 +01:00
Use git commit as dev version suffix. Add badge.
This commit is contained in:
parent
9fe69841eb
commit
464bb154f3
@ -2,7 +2,7 @@
|
||||
[](https://travis-ci.org/arthepsy/ssh-audit)
|
||||
[](https://ci.appveyor.com/project/arthepsy/ssh-audit)
|
||||
[](https://codecov.io/gh/arthepsy/ssh-audit)
|
||||
[](https://coveralls.io/github/arthepsy/ssh-audit)
|
||||
[](https://sq.evolutiongaming.com/dashboard?id=arthepsy-github%3Assh-audit%3Adevelop)
|
||||
**ssh-audit** is a tool for ssh server auditing.
|
||||
|
||||
## Features
|
||||
|
@ -292,8 +292,8 @@ ci_sq_run() {
|
||||
return 1
|
||||
fi
|
||||
if [ -z "${_project_ver##*dev}" ]; then
|
||||
local _git_rc=$(git rev-list --count `git rev-parse HEAD`)
|
||||
_project_ver="${_project_ver}.${_git_rc}"
|
||||
local _git_commit=$(git rev-parse --short=8 HEAD)
|
||||
_project_ver="${_project_ver}.${_git_commit}"
|
||||
fi
|
||||
[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] run sonar-scanner for ${_project_ver}"
|
||||
"${SONAR_SCANNER_PATH}" -X \
|
||||
|
Loading…
x
Reference in New Issue
Block a user