Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release helper script #1006

Merged
merged 5 commits into from
Dec 9, 2024
Merged

Conversation

soapy1
Copy link
Contributor

@soapy1 soapy1 commented Nov 27, 2024

Description

This PR proposes a script to automate some manual steps of the current release process. Used this script to cut the latest release (2024.11.2) and it made things go pretty quick and smooth.

Note, this is not a replacement for #861 or #911, we should definitely still do those.

You can test out running this script by (following the setup instructions and then) running

$ ./cut-release-pr.sh -r release_version -c conda_store_ui_version

This will:

  • create a new branch release-<release_version>
  • put you on that branch
  • update the versions of conda-store, conda-store-server, conda-store-ui
  • update the changelog using the github-activity tool
  • use hatch to build and check the package version
  • use twine to check the validity of the package
  • commit the changes to your branch with a release commit

Pull request checklist

  • Did you test this change locally?
  • Did you update the documentation (if required)?
  • Did you add/update relevant tests for this change (if required)?

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit af2f370
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/6747a4c5790a6d0008ea336f

@@ -0,0 +1,128 @@
#!/bin/bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having this as a bash script is pretty clunky. It would be nice if this was a github action workflow. I think that would take a bit more work. Can iterate on it if this is a direction we want to go.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please! If it's totally automated, we should be able to run this in github-actions.

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit 9119935
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/6747a4f826bb66000835d6e2

Copy link
Contributor

@peytondmurray peytondmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this greatly reduces the maintenance overhead for releasing. 🚀

@@ -0,0 +1,128 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please! If it's totally automated, we should be able to run this in github-actions.

@soapy1 soapy1 merged commit 0cff9e7 into conda-incubator:main Dec 9, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

2 participants