Skip to content

Latest commit

 

History

History
50 lines (48 loc) · 4.27 KB

File metadata and controls

50 lines (48 loc) · 4.27 KB

Releasing a new GlassFish version

In this example we assume 8.0.1. If any step failed, you have to resolve the issue and start from the appropriate step again.

  1. Create a release branch RELEASE_8.0.1 and push it to the Eclipse GlassFish GitHub repository.
  2. Open glassfish-release
  3. Click Build with parameters in menu.
    • releaseVersion = 8.0.1
    • nextVersion = 8.0.2-SNAPSHOT
    • click [Build] button.
  4. Wait for it to finish successfully
  5. Verify that everything was done:
    1. Verify that the deployment is present in Maven Central Deployments
      • It is possible that you will not have permissions to visit the namespace. Ask project leads or check if expected artifacts made it to Maven Central, then this was obviously successful.
    2. Verify that a new 8.0.1 tag was created.
    3. Verify that the release branch changed the number to the nextVersion value.
  6. Create a Draft PR based on this branch.
  7. Find the Glassfish Full Profile Distribution on the page of the release build under glassfish-release and copy the URL of the zip file.
  8. Run the TCKs against the result artifact - alternatively you can deploy to Maven Central Snapshots using glassfish-deploy-snapshots and refer zip from the build or from Maven Central Snapshots (same file). As another alternative you can run the TCK on any other infrastructure.
  9. Create the release on GitHub: click "Draft a new release"
  10. Create the release on Eclipse: "Create a new release"
  11. If it is a version with important feature changes, ask for a release review. Remember that it will take more than week.
  12. Create the release on Glassfish.org. Do a PR for the main branch with:
    • an update for the website in docs/website/src/main/resources:
      • in download_gf8.md, create a section for the new version at the top, based on the previous version. Update the info based on the release notes on GitHub
      • in download.md, replace information in the "Eclipse GlassFish 8.x" section at the top with info for the new version in download_gf8.md
      • check README.md, if release information is still actual.
    • with an update for the docs:
      • Update the property glassfish.version.8x with the released version in docs/pom.xml
  13. Open Maven Central Deployments and click the Publish button. Maven Central then distributes artifacts so they will become reachable to anyone referring Maven Central Repository.
  14. Verify that it's present in Maven Central (usually takes few minutes now)
  15. Upload the new release to the Eclipse download folder. Go to glassfish-copy-to-downloads
    • Enter the version to copy; 8.0.1
    • click [Build] button
  16. If everything is OK, then merge the PR.
  17. Delete the branch after merge, only tag will remain.
  18. Create a new Eclipse GlassFish Docker Image - follow Eclipse GlassFish Docker Image Wiki