GitHub Action that conditionally creates a floating branch for a 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
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
name | description | required | default |
---|---|---|---|
major-version |
The major version to publish. This will update the branch |
true |
"" |
dry-run |
Whether to run the action in dry-run mode - no branches will be created or pushed. |
false |
false |
This action is a composite
action.