Skip to content

Commit

Permalink
update usage info in release script
Browse files Browse the repository at this point in the history
and consolidate with other shell-scripts

Change-Id: Ib3179b59170323b8a565420ef343bc31f72dbf6a
  • Loading branch information
Stephan Leicht Vogt committed Nov 24, 2015
1 parent 03a7288 commit d677720
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shell_scripts/release.sh
Expand Up @@ -9,14 +9,14 @@ TAG=
function usage {
cat << EOF
${PRG} [-h] --git_username <EGerritUser> -r <RELEASE>
${PRG} [-h] --git_username <EGerritUser> --release <RELEASE> --tag <TAG>
-h - Usage info
-u | --git_username <EGerritUser> - Eclipse Gerrit Username of Commiter, SSH Key is used for authorisation
-u | --git_username <RELEASE> - <RELEASE> name (Optional / Default: TEST_RELEASE)
-r | --release <RELEASE> - <RELEASE> name (Optional / Default: TEST_RELEASE)
-t | --tag <TAG> - <TAG> name (Optional / Default: Project Version)
Example: ${PRG} -r NIGHTLY
Example: ${PRG} -u sleicht -r NIGHTLY
EOF
}
Expand Down Expand Up @@ -66,7 +66,7 @@ processError
mvn -Prelease.checkin -Declipse_gerrit_username=$GIT_USERNAME -f org.eclipse.scout.rt $_MAVEN_OPTS
processError

mvn -Prelease.tag -Declipse_gerrit_username=$GIT_USERNAME -f org.eclipse.scout.rt $_MAVEN_OPTS
mvn -Prelease.tag -Declipse_gerrit_username=$GIT_USERNAME -Dmaster_release_pushChanges=true -f org.eclipse.scout.rt $_MAVEN_OPTS
processError

git reset HEAD~1 --hard

0 comments on commit d677720

Please sign in to comment.