ProcessOfRelease
-
modify
org.jacoco.doc/docroot/doc/changes.html
(replace "Snapshot Build" by "Release") -
modify versions in POMs from SNAPSHOT to
$releaseVersion
mvn versions:set -DgenerateBackupPoms=false -DprocessAllModules -DnewVersion=$releaseVersion
-
commit (should be exactly 32 modified files, verify by
git st -s | wc -l
orgit show --stat
)git ci -a -m "Prepare release $releaseVersion"
-
create tag
git tag --sign -m "Release $releaseVersion" v$releaseVersion
-
modify versions in POMs to next SNAPSHOT
mvn versions:set -DgenerateBackupPoms=false -DprocessAllModules -DnewVersion=$snapshotVersion
-
modify
org.jacoco.doc/docroot/doc/changes.html
(add "Snapshot Build") -
commit (should be exactly 32 modified files, verify by
git st -s | wc -l
orgit show --stat
)git ci -a -m "Prepare for next development iteration"
-
checkout tag
git checkout v$releaseVersion
-
verify build from tag
mvn clean install
-
deploy from tag
mvn deploy -Prelease -Djdk.version=5 -Dbytecode.version=5
-
close staging repository ( https://oss.sonatype.org/ )
-
verify staging repository, 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
-
release staging repository
-
push
git push --tags origin
-
update site
-
upload zip to corresponding GitHub release and update description with change information