Skip to content

ProcessOfRelease

Evgeny Mandrikov edited this page Mar 31, 2023 · 21 revisions
  1. modify org.jacoco.doc/docroot/doc/changes.html (replace "Snapshot Build" by "Release")

  2. modify versions in POMs from SNAPSHOT to $releaseVersion

     mvn versions:set -DgenerateBackupPoms=false -DprocessAllModules -DnewVersion=$releaseVersion
    
  3. commit (should be exactly 32 modified files, verify by git st -s | wc -l or git show --stat)

     git ci -a -m "Prepare release $releaseVersion"
    
  4. create tag

     git tag --sign -m "Release $releaseVersion" v$releaseVersion
    
  5. modify versions in POMs to next SNAPSHOT

     mvn versions:set -DgenerateBackupPoms=false -DprocessAllModules -DnewVersion=$snapshotVersion
    
  6. modify org.jacoco.doc/docroot/doc/changes.html (add "Snapshot Build")

  7. commit (should be exactly 32 modified files, verify by git st -s | wc -l or git show --stat)

     git ci -a -m "Prepare for next development iteration"
    
  8. checkout tag

     git checkout v$releaseVersion
    
  9. verify build from tag

     mvn clean install
    
  10. deploy from tag

    mvn deploy -Prelease -Djdk.version=5 -Dbytecode.version=5
    
  11. close staging repository ( https://oss.sonatype.org/ )

  12. 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
  1. release staging repository

  2. push

    git push --tags origin
    
  3. update site

  4. upload zip to corresponding GitHub release and update description with change information