From 1d303535d4f3b8195c8f8fe6510a8dae2e7169be Mon Sep 17 00:00:00 2001 From: Nicolas BRIERE Date: Wed, 7 Aug 2024 16:36:28 +0200 Subject: [PATCH] fix(release-please): creation of major tag condition 6 --- .github/workflows/gh-release-please.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-release-please.yml b/.github/workflows/gh-release-please.yml index ff796cb..be729e4 100644 --- a/.github/workflows/gh-release-please.yml +++ b/.github/workflows/gh-release-please.yml @@ -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 enabeld: ${{ 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