mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-10-31 05:25:28 +01:00 
			
		
		
		
	Use git commit as dev version suffix. Add badge.
This commit is contained in:
		| @@ -2,7 +2,7 @@ | |||||||
| [](https://travis-ci.org/arthepsy/ssh-audit) | [](https://travis-ci.org/arthepsy/ssh-audit) | ||||||
| [](https://ci.appveyor.com/project/arthepsy/ssh-audit) | [](https://ci.appveyor.com/project/arthepsy/ssh-audit) | ||||||
| [](https://codecov.io/gh/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.   | **ssh-audit** is a tool for ssh server auditing.   | ||||||
|  |  | ||||||
| ## Features | ## Features | ||||||
|   | |||||||
| @@ -292,8 +292,8 @@ ci_sq_run() { | |||||||
| 		return 1 | 		return 1 | ||||||
| 	fi | 	fi | ||||||
| 	if [ -z "${_project_ver##*dev}" ]; then | 	if [ -z "${_project_ver##*dev}" ]; then | ||||||
| 		local _git_rc=$(git rev-list --count `git rev-parse HEAD`) | 		local _git_commit=$(git rev-parse --short=8 HEAD) | ||||||
| 		_project_ver="${_project_ver}.${_git_rc}" | 		_project_ver="${_project_ver}.${_git_commit}" | ||||||
| 	fi | 	fi | ||||||
| 	[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] run sonar-scanner for ${_project_ver}" | 	[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] run sonar-scanner for ${_project_ver}" | ||||||
| 	"${SONAR_SCANNER_PATH}" -X \ | 	"${SONAR_SCANNER_PATH}" -X \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Andris Raugulis
					Andris Raugulis