Skip to content

Commit

Permalink
Creating tag by me, not Rultor
Browse files Browse the repository at this point in the history
  • Loading branch information
valery1707 committed Apr 24, 2017
1 parent 3dbada9 commit c85e01b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .rultor/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ mvn --batch-mode clean install -P release -Dgpg.passphrase=${gpg_pass}

# Commit and tag
git commit -am "Release version ${version}"
GIT_AUTHOR_NAME='Valeriy.Vyrva'
GIT_AUTHOR_EMAIL='[email protected]'
GIT_COMMITTER_NAME='Valeriy.Vyrva'
GIT_COMMITTER_EMAIL='[email protected]'
old_name=$(git config --get user.name)
old_email=$(git config --get user.email)
git config user.name 'Valeriy.Vyrva'
git config user.email '[email protected]'
git tag --local-user='[email protected]' -m "Release version ${version}" v${version}
unset GIT_AUTHOR_NAME
unset GIT_AUTHOR_EMAIL
unset GIT_COMMITTER_NAME
unset GIT_COMMITTER_EMAIL
git config user.name ${old_name}
git config user.email ${old_email}
unset old_name
unset old_email

# Deploy artifact to Maven Central
mvn --batch-mode deploy -P release -Dmaven.test.skip=true -Dgpg.passphrase=${gpg_pass} --settings ../settings.xml
Expand Down

0 comments on commit c85e01b

Please sign in to comment.