Skip to content

Commit

Permalink
chore(release-please): customize release type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbriere1 committed Jul 31, 2024
1 parent af1b9d5 commit 8959d9f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gh-release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
required: false
type: boolean
default: true
release_type:
required: false
type: string
default: terraform-module
push:
branches:
- 'main'
Expand All @@ -23,11 +27,7 @@ jobs:
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: terraform-module
- name: Debug outputs
run: |
echo "Release Created: ${{ steps.release.outputs.release_created }}"
echo "Major and Minor Tags: ${{ env.major_and_minor_tags }}"
release-type: ${{ inputs.release_type || 'terraform-module' }}
- uses: actions/checkout@v4
- name: tag major and minor versions
if: ${{ steps.release.outputs.release_created && env.major_and_minor_tags == 'true' }}
Expand Down

0 comments on commit 8959d9f

Please sign in to comment.