specified tag git tag --list # list all tags git describe --tags # shows last tag (and last commit if has changes) git push <origin> --tags # pushes tags to remote repository
# download and install sonarqube sudo sh -c 'echo deb http://downloads.sourceforge.net/project/sonar-pkg/deb binary/ > /etc/apt/sources.list.d/sonarqube.list' sudo apt-get update sudo apt-get -y --force-yes install sonar sudo update-rc.d sonar defaults # mysql -u root -p mysql > create schema sonar DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; mysql > create user 'sonar'@'%' Identified By 'sonar'; mysql > grant all privileges on sonar.* to sonar; # change configuration in /opt/sonar/conf/sonar.properties (uncomment): sonar.jdbc.username=sonar sonar.jdbc.password=sonar sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar? useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance