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

Setup release automation #118

Closed
wants to merge 3 commits into from
Closed

Conversation

NullVoxPopuli
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli commented Apr 1, 2024

This automation uses: release-plan via this npx boilerplate generator, which is a hybrid of the best parts of release-it and changesets, where:

  • changelog entries are managed via labels (this list is a bit hard coded, but is sufficient)
  • if a maintainer can merge, they can release
  • no maintainer needs to have access to npm, nor push-access to main, they only need to be able to merge PRs

The one-time setup:

  • an NPM_TOKEN
  • permission for actions to create pull requests
  • we'll want to enable "releases" in the settings for this repo
    • an initial git tag pushed (we can checkout the existingly published -- I've determined this to be 0.1.0 for signal-polyfill which was 2024-03-31T19:18:08.630Z, or matching commit: d811fce (hopefully -- hard to tell for sure, tbh, but the commit used for publish cannot be newer than the publish timestamp)

Example:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is all boilerplate maintained by https://github.com/embroider-build/create-release-plan-setup

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is all boilerplate maintained by https://github.com/embroider-build/create-release-plan-setup

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

a unified changelog for all packages in the repo

@ljharb

This comment was marked as off-topic.

@littledan

This comment was marked as off-topic.

@ljharb

This comment was marked as off-topic.

@littledan

This comment was marked as off-topic.

@littledan
Copy link
Member

Thanks for creating this automation. I am not sure of the best strategy for maintaining this (unstable) polyfill, so I am not ready to land this patch yet.

@littledan
Copy link
Member

We'll be developing this code in a different repo.

@littledan littledan closed this May 13, 2024
@ljharb ljharb deleted the setup-release-automation branch May 13, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants