...
Code Block |
---|
git clone git@github.com:$ORG/$REPO.git
cd $REPO
git checkout rc-$CURR # or the RC branch
mvn release:clean |
If release:clean fails, you may need to revert the RC commit with git revert HEAD
. If the parent snapshot is not available, build an old version of fcrepo4 to populate it locally.
...
Code Block |
---|
git push origin rc-$CURR:release-$CURR git push origin --tags-tags # mvn task relies on the tag, make sure it does not collide with a branch name |
Go to
https://github.com/fcrepo4/$REPO/releases/tag/$REPO-$CURR
- Click Edit tag, and update title to "Release $CURR"
- If appropriate, attach binaries and checksums at the bottom
- Click Publish Release
...