Skip to content

Update release workflow to mint a release#3087

Merged
namurphy merged 5 commits intoPlasmaPy:mainfrom
namurphy:mint-release-6
Aug 7, 2025
Merged

Update release workflow to mint a release#3087
namurphy merged 5 commits intoPlasmaPy:mainfrom
namurphy:mint-release-6

Conversation

@namurphy
Copy link
Member

@namurphy namurphy commented Aug 7, 2025

This pull request removes mint-release.yml in favor of a new prepare-release-pr.yml workflow, which will create a pull request with the built changelog and updated metadata.

I decided that creating a pull request would give us a chance to review the changelog and metadata in case of any problems.

Changes from previous release process

The revised workflow no longer creates a release branch like v2024.10.x, which we had been creating in case we ever needed to do a patch release, or if we had a problem building the documentation. However, we haven't used the . The changelog and such was built on the release branch, followed by a pull request to merge the changes back into main. Because the tag was made on the release branch, it would not show up in the history of main if we did a squash merge, which caused plasmapy.__version__ to be based off of the incorrect previous tag. If we end up needing to create a release branch of the form v2024.10.x, then we can still create it manually based off of the tagged version for the release.

The revised workflow no longer creates a tag that can be selected during the release. Going forward, we will create the tag off of main upon doing the release.

In the previous release process, we've created separate pull requests to revise the changelog for both style and content. For example, if two PRs produced conflicting changes, the changelog entries could be revised accordingly. Going forward, we can use the newly created pull request to perform a code review for the final changelog just before the release.

@github-actions github-actions bot added GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) packaging Related to packaging or distribution release Related to releasing a new version of PlasmaPy labels Aug 7, 2025
@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.71%. Comparing base (4c1bc22) to head (4587ff8).
⚠️ Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3087      +/-   ##
==========================================
- Coverage   95.48%   94.71%   -0.78%     
==========================================
  Files         108      108              
  Lines        9869     9869              
  Branches     1501     1501              
==========================================
- Hits         9423     9347      -76     
- Misses        255      325      +70     
- Partials      191      197       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@namurphy namurphy added the no changelog entry needed For PRs that should not have a changelog entry label Aug 7, 2025
@github-actions github-actions bot added the security Issues and PRs related to software security label Aug 7, 2025
@namurphy namurphy marked this pull request as ready for review August 7, 2025 20:33
@namurphy namurphy merged commit 5fa4c0a into PlasmaPy:main Aug 7, 2025
20 checks passed
@namurphy namurphy deleted the mint-release-6 branch August 7, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) no changelog entry needed For PRs that should not have a changelog entry packaging Related to packaging or distribution release Related to releasing a new version of PlasmaPy security Issues and PRs related to software security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant