/action-major-release

GitHub Action: creates a floating branch for the major release

Primary LanguageShellMIT LicenseMIT

open-turo/action-major-release

Description

GitHub Action that conditionally creates a floating branch for a major release

Usage

Execute the action to create/update the major release

In this case, a branch will be attempted to be created and pushed.

steps:
  - name: Major release
    uses: open-turo/action-major-release@v1
    with:
      major-version: 1

Execute the action in "dry run" mode

In this case, no branch will be created nor pushed. The commands that would be executed if not in dry run mode will be sent to stdout.

steps:
  - name: Major release
    uses: open-turo/action-major-release@v1
    with:
      major-version: 1
      dry-run: true

Inputs

name description required default
major-version

The major version to publish. This will update the branch v<major-version> to the current git sha.

true ""
dry-run

Whether to run the action in dry-run mode - no branches will be created or pushed.

false false

Runs

This action is a composite action.