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

Add scripts to aid PRs & releases #18

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Conversation

AndrewFerr
Copy link
Member

This PR adds some scripts that do some maintenance-related tasks that I've been doing manually thus far, and are good to have down in writing:

  • tag-release creates an appropriate tag for a new fork release, based on the release histories of the fork & upstream.
  • publish-to-npm publishes the latest fork release branch to NPM & sets the correct package version while doing so.
  • prepare-patch-branch creates a new branch that can be used to push commits that ought to be merged into both the fork & upstream. The branch is based on the latest common ancestor commit of the fork & upstream, which makes it easier to merge into both repos.

@AndrewFerr AndrewFerr self-assigned this May 29, 2023
@AndrewFerr AndrewFerr requested a review from a team as a code owner May 29, 2023 15:47
Copy link
Member

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

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

Couple of things.

Generally these look like scripts scratching useful itches, so if they're working for you then we can merge them.

scripts/prepare-patch-branch Show resolved Hide resolved
scripts/publish-to-npm Outdated Show resolved Hide resolved
scripts/tag-release Show resolved Hide resolved
@AndrewFerr AndrewFerr merged commit fbec61f into element-main Jun 29, 2023
@AndrewFerr AndrewFerr deleted the af/dev-scripts branch June 29, 2023 13:51
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