Skip to content

Commit

Permalink
feat(realease-please): allow target branch specification
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbriere1 committed Nov 20, 2024
1 parent bfc1ad7 commit 84ef417
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gh-release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
required: false
type: string
default: .release-please-manifest.json
target_branch:
required: false
type: string
default: main
outputs:
release_created:
description: "Whether a release was created"
Expand Down Expand Up @@ -47,6 +51,7 @@ jobs:
release-type: ${{ inputs.release_type }}
config-file: ${{ inputs.release_please_config_file }}
manifest-file: ${{ inputs.release_please_manifest_file }}
target-branch: ${{ inputs.target_branch }}
- name: tag major and minor versions
if: ${{ steps.release.outputs.releases_created == 'true' && env.major_and_minor_tags == 'true' }}
run: |
Expand Down

0 comments on commit 84ef417

Please sign in to comment.