If backing out of this step is needed for any reason, the following will restore the github repository and your working copy to the state it was previously in: mvn release:rollback
- Warning: running a "mvn release:rollback" will perform an immediate, automatic push to GitHub master, rolling back any previously committed POM version changes.
- If you want to avoid the immediate, automatic push to GitHub master, you may be able to use "
mvn release:clean " to just clean up the locally made release preparations. - If the rollback fails for any reason, you can also run the following to simply revert all POMs back to a specific version:
mvn versions:set -DnewVersion=[version-to-revert-to] -DgenerateBackupPoms=false -Dmirage2.on=true - This will revert POMs to the specified version in your local copy. You'll then need to commit the changes and push them up to GitHub
- Now delete the tag in GitHub (local & remote)
git tag -d dspace-x.y git push origin :refs/tags/dspace-x.y
|