Skip to content

Automate GitHub releases, PRs, labels, release notes

License

Notifications You must be signed in to change notification settings

vladholubiev/gh-shipit

Repository files navigation

gh-shipit

CircleCI node

Install

$ npx gh-shipit

node >=16 required. still don't know about npx?

Features

Prepare Release

  • Detailed overview of all the repos in organization
    • View how many commits in develop are ahead of master
    • View how many commits in master are behind of develop
    • View latest commit date in develop
    • View latest version released
    • View latest release draft version
  • Create a release branch in git-flow style (release/vX.x.x)
  • Open branch comparison on github in browser to decide on release name
  • Create a PR from release branch to master
  • Create Release Notes Draft
  • Create release label in repo and assign it to PR
  • Open created PR in browser

Merge Renovate bot PRs in bulk

  • Fuzzy search with autocomplete
  • Approve & merge PRs in parallel, 10 merges concurrently
  • Print number of merged PRs and URLs to PRs failed to merge

Usage

Follow interactive instructions

$ shipit

Publish

$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master

License

MIT © Shelf