In the pom
, using HTTPS developer connection
<scm>
<developerConnection>scm:git:https://github.com/tobyweston/simple-excel.git</developerConnection>
</scm>
and running,
mvn release:prepare -Dusername=bub -Dpassword=secret
will update the pom
and create a tag in SCM.
Where password
is the personal access token generated from GitHub as opposed to your regular password used in the web UI.
After running the prepare
, run the perform
step
mvn release:perform
to checkout the newly created tag, build to release and deploy it (using the mvn deploy
). This will use the distributionManagement
from the pom
.
For local deployment to robotooling.com
's Maven repository, clone the repository before running this step.
git clone [email protected]:tobyweston/robotooling.git
git checkout gh-pages
...
perform the release process (inc deploy)
...
./update.sh
When things go wrong with the prepare
step, rollback using
mvn release:rollback -Dusername=bub -Dpassword=secret
although you'll have to delete any tags manually
git tag -d simple-excel-1.x
git push origin :simple-excel-1.x