Skip to content

Commit

Permalink
fix(release-please): creation of major tag condition 6
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbriere1 committed Aug 7, 2024
1 parent fdd8e0c commit 648d028
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gh-release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
major_and_minor_tags:
required: false
required: true
type: boolean
default: true
release_type:
Expand Down Expand Up @@ -36,8 +36,15 @@ jobs:
release-type: ${{ inputs.release_type }}
config-file: ${{ inputs.release_please_config_file }}
manifest-file: ${{ inputs.release_please_manifest_file }}
- name: Display output values
run: |
echo "Releases created: ${{ steps.release.outputs.releases_created }}"
echo "Release created: ${{ steps.release.outputs.release_created }}"
echo "Major minor tags enabled: ${{ inputs.major_and_minor_tags }}"
echo "Major version: ${{ steps.release.outputs.major }}"
echo "Minor version: ${{ steps.release.outputs.minor }}"
- name: tag major and minor versions
if: ${{ steps.release.outputs.releases_created && inputs.major_and_minor_tags }}
if: ${{ steps.release.outputs.releases_created == 'true' && inputs.major_and_minor_tags == true }}
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
Expand Down

0 comments on commit 648d028

Please sign in to comment.