-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ProcessOfRelease
-
modify
org.jacoco.doc/docroot/doc/changes.html(replace "Snapshot Build" by "Release") -
modify versions in POMs from SNAPSHOT to
$releaseVersion./mvnw versions:set -DgenerateBackupPoms=false -DprocessAllModules -DnewVersion=$releaseVersion -
commit (should be exactly 33 modified files, verify by
git st -s | wc -lorgit show --stat)git ci --gpg-sign -a -m "Prepare release $releaseVersion" -
create tag
git tag --sign -m "Release $releaseVersion" v$releaseVersion -
modify versions in POMs to next SNAPSHOT
./mvnw versions:set -DgenerateBackupPoms=false -DprocessAllModules -DnewVersion=$snapshotVersion -
modify
org.jacoco.doc/docroot/doc/changes.html(add "Snapshot Build") -
commit (should be exactly 33 modified files, verify by
git st -s | wc -lorgit show --stat)git ci --gpg-sign -a -m "Prepare for next development iteration" -
checkout tag
git checkout v$releaseVersion -
verify build from tag
./mvnw clean install -
deploy from tag
./mvnw deploy -Prelease -Djdk.version=5 -Dbytecode.version=5 -
transfer from the OSSRH Staging API compatibility service to the Central Publisher Portal
curl -v -H "Authorization: Bearer BASE64" \ -X POST 'https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/org.jacoco'See
-
verify deployment (https://central.sonatype.org/publish/publish-portal-api/#manually-testing-a-deployment-bundle), following artifacts should be available - http://www.jacoco.org/jacoco/trunk/doc/repo.html:
- jacoco-maven-plugin
- org.jacoco.agent
- org.jacoco.ant
- org.jacoco.build
- org.jacoco.cli
- org.jacoco.core
- org.jacoco.report
- jacoco
-
push tag
git push origin v$releaseVersion -
upload zip to corresponding GitHub release and update description with change information
-
publish deployment (https://central.sonatype.com/publishing/deployments)
-
update https://github.com/jacoco/www.eclemma.org , don't forget version in
.github/workflows/ci.yml