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

ci: improve release script #862

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

innocenzi
Copy link
Member

This pull request attempts to make the release script actually usable. To do this, we need:

  • To implement bumpPhpPackages and cleanUpAfterRelease. I need @aidan-casey's knowledge for this.
  • To potentially add a deploy key and another release workflow to clean up, depending on what's needed by the two functions above.
  • To add a NPM_TOKEN to the GitHub Actions for release the JavaScript packages. I will give it to you in DMs @brendt.

The release script will:

  • Prompt for the next version
  • Bump Kernel::VERSION (which I just added, for use in PHP)
  • Bump PHP packages (see above)
  • Update CHANGELOG.md
  • Commit and push the new tag, which will trigger the "create a GH release" workflow
  • Clean up PHP packages after release (see above)
  • Commit after the clean up

Note:

  • Updating CHANGELOG.md can be done after every PR is merged, with a deploy key. I'm down to implement this later.

Needs: #587, #587
Related: #587

@brendt
Copy link
Member

brendt commented Dec 17, 2024

Ping me when you need me :)

@innocenzi
Copy link
Member Author

@brendt I'd need the detailed release process (how versions are bumped and restored etc). I pinged Aidan but you know about it as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants