This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Release to Maven Central
Florent Biville edited this page Dec 29, 2017
·
13 revisions
Follow this tutorial.
-
No route to host
: probably an IPv6 issue. List available servers withgpg-connect-agent --dirmngr 'keyserver --hosttable'
and pick one with IPv4. -
Inappropriate ioctl for device
:GPG_TTY=$(tty); export GPG_TTY
does the trick (source https://github.com/pstadler/keybase-gpg-github/issues/11).
Make sure you created an SSH key and added it to your Github account (see https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/).
Make sure your OSSRH JIRA account is properly set up in ~/.m2/settings.xml
(see https://github.com/liquigraph/liquigraph/blob/master/deploy-settings.xml).
Just run:
-
mvn release:prepare -Prelease-sign-artifacts
(SCM label isliquigraph-$VERSION
NOT the default one!) and mvn release:perform -Prelease-sign-artifacts
- then go to https://oss.sonatype.org/ and validate the release:
- go to staging repositories and locate Liquigraph
- inspect and close the release
- then release it!
- Edit the release notes
- Update the online documentation
- Update the Homebrew recipe