Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 884 Bytes

File metadata and controls

30 lines (21 loc) · 884 Bytes

Description

A simple CLI command to create a release branch for Livingdocs Downstream projects.

Workflow

  • Create a release branch based on latest tag
  • Create a feature branch based on release branch
  • extend package.json.release.branches with information for semantic releases
  • Create PR from the feature branch to the release branch

Example

via CLI

npx github:livingdocsIO/github-create-downstream-release-branch \
  --owner=<gh-owner> \
  --repo=<gh-repo> \
  --gh-token=<your-gh-token> \
  --branch=release-2023-12-24

Arguments

  • --owner (required) Github owner of the repo where you want to create the Pull Request
  • --repo (required) Github repo where you want to create the Pull Request
  • --gh-token (required) Github token of a user to create the PR with
  • --branch (required) Release branch name to be created