Skip to content

Release GMT 6.2.0rc2 #5191

Closed
Closed

Description

@maxrjones

Version: 6.2.0rc2

Scheduled date: May 24, 2021

Before release:

  • check if all tests pass on macOS, Linux and Windows
  • check if other GMT-derived projects work well
  • run src/gmt_make_*.sh to update some .c and .h files
  • run admin/gs_check.sh to test if latest ghostscript version works
  • update changelog
  • check installation instructions in INSTALL.md
  • 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_PACKAGE_VERSION_SUFFIX to rcx
    • set GMT_PUBLIC_RELEASE to TRUE
  • freeze codes and commit all changes to GitHub

Release:

  • create source tarballs (tar.gz and tar.xz) (@PaulWessel)
  • create macOS bundle (@PaulWessel)
  • create Windows installers (win64) (@joa-quim)
  • check if the source tarballs, macOS bundle and Windows installers work well
  • upload source tarballs, macOS bundle, Windows installers to the GMT FTP (@PaulWessel)
  • 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.
    • 6 files are attached as release assets (2 source tarballs, 3 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
  • make announcements in the GMT forum
  • make announcements on the GMT twitter
  • update links on the main site (News, Download & Documentation)

After release:

  • comment the GMT_PACKAGE_VERSION_SUFFIX line in cmake/ConfigDefault.cmake
  • comment the set (GMT_PUBLIC_RELEASE TRUE) line
  • commit changes to GitHub

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. maxrjones commented on May 3, 2021

    @maxrjones
    MemberAuthor

    Are there any outstanding issues that need to be addressed before rc2, @PaulWessel?

  2. joa-quim commented on May 3, 2021

    @joa-quim
    Member

    Why will there be an RC2? We are not even respecting RC1.

  3. maxrjones commented on May 3, 2021

    @maxrjones
    MemberAuthor

    Why will there be an RC2? We are not even respecting RC1.

    What do you mean we are not respecting RC1?

  4. joa-quim commented on May 3, 2021

    @joa-quim
    Member

    An RC is a release candidate. And it means that if no new bugs are found that RC is promoted to the final release. It means also that a feature freeze was in action and any new changes would have gone to the master branch but not included in the next release.
    We have not done that.

  5. maxrjones commented on May 3, 2021

    @maxrjones
    MemberAuthor

    I do not recall any new features being added to the master branch since 6.2.0rc1. Which merged PRs do you consider to be new features? There were bug fixes since RC1 (e.g., #5170, #5178, and #5181), which were the motivation for an RC2.

  6. joa-quim commented on May 3, 2021

    @joa-quim
    Member

    #5124 for example touched quite a bit of code.

  7. PaulWessel commented on May 3, 2021

    @PaulWessel
    Contributor

    Yes, it did, but it was in the interest of fixing a bug (the assumption that all angles are always longitudes). There was no way of fixing that without adding the new modifier so the user can specify what they plot. I think we only did bug-fixes even if some requires what is sort-of a new feature.

  8. pinned this issue on May 5, 2021
  9. PaulWessel commented on May 8, 2021

    @PaulWessel
    Contributor

    I guess I do not know how to trigger the full tests in the CI. @meghanrjones or @seisman, did these run overnight so we can check the test-boxes, or do we need to set them up for a run first.?

  10. maxrjones commented on May 8, 2021

    @maxrjones
    MemberAuthor

    They are triggered on any PRs that change src/**, test/**, share/**, doc/examples/**, doc/scripts/**, .github/workflows/**, or ci/**. The tests passed on the last PR that triggered the workflow (#5193), so I will check the box.

  11. PaulWessel commented on May 8, 2021

    @PaulWessel
    Contributor

    Hi @joa-quim, I successfully built gmtmex and MB system. Let me know if you have any concerns for those two, then please build GMT.jl and check that box for us.

  12. joa-quim commented on May 8, 2021

    @joa-quim
    Member

    All clear, but I've not tried MB. Too risky.

  13. seisman commented on May 8, 2021

    @seisman
    Member

    Looks good for PyGMT.

  14. seisman commented on May 13, 2021

    @seisman
    Member

    Any schedule for the rc2 release?

  15. PaulWessel commented on May 13, 2021

    @PaulWessel
    Contributor

    With Meghan off on vacation this week and me dealing with e-graduation this Saturday I think we just have to do it early next week.

  16. 31 remaining items

  17. PaulWessel commented on May 23, 2021

    @PaulWessel
    Contributor

    Yes, and Matlab 2021a is still Intel only so no point testing mex yet either.

  18. maxrjones commented on May 24, 2021

    @maxrjones
    MemberAuthor

    CMAKE_OSX_DEPLOYMENT_TARGET - Specify the minimum version of the target platform (e.g. macOS or iOS) on which the target binaries are to be deployed

    Would this impact the use of the binaries on older macOS's?

  19. PaulWessel commented on May 24, 2021

    @PaulWessel
    Contributor

    Good question - and I have no older macos to test on.

  20. maxrjones commented on May 24, 2021

    @maxrjones
    MemberAuthor

    Good question - and I have no older macos to test on.

    Me neither. Unless @seisman knows off hand whether this setting impacts use on older macos, I could place a bundle built with set (CMAKE_OSX_DEPLOYMENT_TARGET "11.3") on the ftp site for the gmt-release-testbot to check with 10.15.

  21. seisman commented on May 24, 2021

    @seisman
    Member

    Good question - and I have no older macos to test on.

    Me neither. Unless @seisman knows off hand whether this setting impacts use on older macos, I could place a bundle built with set (CMAKE_OSX_DEPLOYMENT_TARGET "11.3") on the ftp site for the gmt-release-testbot to check with 10.15.

    I have no idea.

  22. PaulWessel commented on May 24, 2021

    @PaulWessel
    Contributor

    Bundle ships all libs except more permanent system libraries whose function names do not change. I think it will be OK but your test sounds good.

  23. maxrjones commented on May 24, 2021

    @maxrjones
    MemberAuthor

    The test passed. Updated shasums:

    b4fb5f79b2a9f8b7187a20200ecfb418c533d970ed36f5e8cece73ad630e2176  gmt-6.2.0rc2-darwin-x86_64.dmg
    913a80bc6c1768b6728bd256745dd3aa16fe08f20c04bb7d322aa4a2ba8a6423  gmt-6.2.0rc2-src.tar.gz
    0fced6881fd16bda1ba6334003153e0f3afa169820450dfbbd23b7960b864b47  gmt-6.2.0rc2-src.tar.xz
    
  24. maxrjones commented on May 24, 2021

    @maxrjones
    MemberAuthor

    Is there any more that needs to be done for the arm bundle or should we move onwards?

  25. PaulWessel commented on May 24, 2021

    @PaulWessel
    Contributor

    No, I think that is all, thanks. Good to release I think; the WIPs are piling up...

  26. maxrjones commented on May 24, 2021

    @maxrjones
    MemberAuthor

    No, I think that is all, thanks. Good to release I think; the WIPs are piling up...

    OK, I will complete the next items.

  27. maxrjones commented on May 24, 2021

    @maxrjones
    MemberAuthor

    Draft release is here: https://github.com/GenericMappingTools/gmt/releases
    Please provide any comments. I'll publish the release shortly if there are none.

  28. PaulWessel commented on May 24, 2021

    @PaulWessel
    Contributor

    Looks good to me.

  29. maxrjones commented on May 25, 2021

    @maxrjones
    MemberAuthor

    Finally done unless we want to clean up the gh-pages branch (see #5259)

  30. unpinned this issue on May 26, 2021
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions