Skip to content

Release GMT 6.7.0 #9109

Closed
Closed

Description

@seisman

Version: 6.7.0

Scheduled date: July XX, 2026

Before release:

  • check if there are new SCM releases
  • check if all tests pass on macOS, Linux and Windows
  • check if other GMT-derived projects work well
  • reserve a DOI on zenodo (@seisman)
  • run admin/gs_check.sh to test if latest ghostscript version works
  • update changelog
  • update the version information in CITATION.cff
  • check installation instructions in doc/rst/source/install.rst
  • check if there are any warnings when building the documentation
  • add one new entry in doc/rst/_static/version_switch.js if it's a minor release
  • check/set values in cmake/ConfigDefault.cmake
    • GMT_VERSION_YEAR is current year
    • GMT_PACKAGE_VERSION_* is correctly set
    • GMT_LIB_SOVERSION is correctly set
    • set GMT_PUBLIC_RELEASE to TRUE
    • update GMT_VERSION_DOI
  • freeze codes and commit all changes to GitHub

Release:

  • create source tarballs (tar.gz and tar.xz)
  • create macOS bundle
  • create Windows win64 installer and portable installer (@joa-quim)
  • check if the source tarballs for Linux work well (@Esteban82, @anbj)
  • check if the macOS bundles work well (@seisman, @maxrjones)
  • check if the Windows installers work well (volunteers needed!)
  • upload source tarballs, macOS bundle, Windows installers to the GMT FTP
  • update README and VERSION files on the GMT FTP
  • make a tag and push it to github (Must be done after uploading packages to the GMT FTP)
    # checkout master (for minor releases) or 6.x branch (for patch releases)
    git checkout XXXX
    # create the tag x.x.x
    git tag x.x.x
    # Push tags to GitHub
    git push --tags
  • make a GitHub release.
    The GitHub Actions automatically create a draft release after pushing the tag to github.
    We need to go to the GitHub Release page, and review it manually.
    • 7 files are attached as release assets (2 source tarballs, 4 installers and 1 checksum file).
    • download the checksum file and check if the checksums are correct
    • edit the draft release, set the target to the correct tag, and publish the release
  • upload the tarball to zenodo (@seisman)
  • make announcements in the GMT forum
  • make announcements on the GMT Instagram
  • update links on the main site (Download & Documentation)
  • update install instructions on the wiki if needed

After release:

  • Reset for the next version
    - [ ] update GMT_PACKAGE_VERSION_* in cmake/ConfigDefault.cmake
    - [x] comment the set (GMT_PUBLIC_RELEASE TRUE) line

3rd-party update

Volunteers needed! Please let us know if you volunteer to help to maintain GMT in these 3rd-party tools.


  • Party 🎉 (don't tick before all other checkboxes are ticked!)

Activity

  1. joa-quim commented on Jul 24, 2026

    @joa-quim
    Member

    Maybe for windows build only (We don't build the Mac version anymore) but I found that be must be careful to not have

    set (DO_TESTS ON)
    set (DO_SUPPLEMENT_TESTS ON)
    

    otherwise the binary will have GMT_DATA_SERVER set to static

  2. pinned this issue on Jul 24, 2026
  3. Esteban82 commented on Jul 24, 2026

    @Esteban82
    Member

    There is no new release of SCM (the current version is 8.0.1 from Oct 2023).

  4. joa-quim commented on Jul 24, 2026

    @joa-quim
    Member

    Can you reserve a DOI at zenodo?

  5. Esteban82 commented on Jul 24, 2026

    @Esteban82
    Member

    Can you reserve a DOI at zenodo?

    Yes, sure.

  6. joa-quim commented on Jul 24, 2026

    @joa-quim
    Member

    When you have it, check that box.

  7. Esteban82 commented on Jul 24, 2026

    @Esteban82
    Member

    Doi: 10.5281/zenodo.19398868

  8. joa-quim commented on Jul 24, 2026

    @joa-quim
    Member

    Thanks.

  9. Esteban82 commented on Jul 27, 2026

    @Esteban82
    Member

    I run admin/gs_check.sh and I got this:

    bash admin/gs_check.sh 
    Working in build directory
    Convert PS_orig_for_gs.ps to PS_orig_for_gs.pdf in order to achieve transparency
    Convert PS_orig_for_gs.pdf to PS_orig_for_gs.png
    Compare PS_orig_for_gs.png to ../admin/PS_orig_for_gs.png
    Image Difference (RootMeanSquaredError):
               Normalized    Absolute
              ============  ==========
         Red: 0.0029328006      192.2
       Green: 0.0022766047      149.2
        Blue: 0.0028546384      187.1
     Opacity: 0.0000000000        0.0
       Total: 0.0023416452      153.5
    

    is it ok?

  10. joa-quim commented on Jul 27, 2026

    @joa-quim
    Member

    Hmm, no idea. The normalized values look very small but the absolute look big (if max is 255). So, don't get it. But the test is apparently testing if transparency works well.

  11. Esteban82 commented on Jul 27, 2026

    @Esteban82
    Member

    I understand (with the help of ChatGPT) that admin/gs_check.sh reports the RMS image difference (0.0023 in my case). This is the same metric used by the GRAPHICSMAGICK_RMS thresholds in the image tests. Therefore, if the reported RMS is below the GRAPHICSMAGICK_RMS threshold for a given test, that test should pass.

    Since the reported RMS is quite small, it appears that the latest Ghostscript version passes this check.

  12. joa-quim commented on Jul 27, 2026

    @joa-quim
    Member

    Checked

  13. Esteban82 commented on Jul 28, 2026

    @Esteban82
    Member
  14. ES-Solar commented on Jul 28, 2026

    @ES-Solar
    Collaborator
  15. 22 remaining items

  16. joa-quim commented on Jul 30, 2026

    @joa-quim
    Member

    OK, solution (thank Claude again) is to use admin/build-release.sh
    or (must add this to our checklist)

    cmake --build . --target gmt_release
    cmake --build . --target gmt_release_tar
    

    Did that from within WSL but have troubles with my VPN connection and cannot update the files I linked above, so (sorry I'm tired of this) added them directly to the the releases https://github.com/GenericMappingTools/gmt/releases/edit/6.7.0
    Since they were made in WSL there should not be issues with CRLF (but who knows).

  17. Esteban82 commented on Jul 31, 2026

    @Esteban82
    Member

    Since they were made in WSL there should not be issues with CRLF (but who knows).

    I tested the new source tarball.

    The shell scripts now use LF line endings, and I was able to run do_examples.sh successfully.

    I also confirmed that the images directories I mentioned earlier are now included. They only contain the .dvc files.

    I think the Linux source tarball is now working correctly and this issue can be considered resolved.

  18. joa-quim commented on Jul 31, 2026

    @joa-quim
    Member

    Federico, you may update the tarballs to zenodo and than we can post the official release in the forum 💯

  19. Esteban82 commented on Jul 31, 2026

    @Esteban82
    Member

    Federico, you may update the tarballs to zenodo and than we can post the official release in the forum 💯

    Ok, I will do it.

  20. Esteban82 commented on Jul 31, 2026

    @Esteban82
    Member
  21. Esteban82 commented on Aug 2, 2026

    @Esteban82
    Member

    I've just made the instagram post.

    I think I accidentally unchecked a few items in the checklist.

  22. remkos commented on Aug 3, 2026

    @remkos
    Contributor

    Macports has just been updated: macports/macports-ports#33844

  23. claudiodsf commented on Aug 3, 2026

    @claudiodsf
    Contributor
  24. Esteban82 commented on Aug 3, 2026

    @Esteban82
    Member

    The website was updated and I think that there is nothing to update in the install instructions.

  25. seisman commented on Aug 9, 2026

    @seisman
    MemberAuthor

    Does GMT 6.7.0 have issues with transparency? The following script shows no transparency at all with GMT 6.7.0 and ghostscript 10.07.0

    gmt begin map png
        gmt coast -Rg -JH10c -Baf -Glightgreen -Slightblue
        echo GMT | gmt text -F+cMC+f60p,red@50
    gmt end show
    
  26. remkos commented on Aug 10, 2026

    @remkos
    Contributor
  27. seisman commented on Aug 10, 2026

    @seisman
    MemberAuthor

    @remkos Thanks for looking into the issue. It's likely @Esteban82 already has a fix in PR #9125.

  28. remkos commented on Aug 10, 2026

    @remkos
    Contributor

    Thanks for the hint @seisman. I checked that PR #9125 works and merged it.
    Thank you, @Esteban82 for some great sleuthing.

  29. unpinned this issue on Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions