diff --git a/.github/actions/tag-action/action.yaml b/.github/actions/tag-action/action.yaml index 6274472f..37a4dbf2 100644 --- a/.github/actions/tag-action/action.yaml +++ b/.github/actions/tag-action/action.yaml @@ -17,7 +17,14 @@ runs: using: "composite" steps: - run: | - SUB='-rc' + if [[ -z "${{ inputs.ORIGINAL_TAG }}" ]]; then + echo "The value of ORIGINAL_TAG is ${{ inputs.ORIGINAL_TAG }}" + echo "Setting the value of ORIGINAL_TAG to ${{ github.ref_name }}" + export ORIGINAL_TAG=${{ github.ref_name }} + fi + shell: bash + + - run: | if [[ "${{ inputs.ORIGINAL_TAG }}" == *"${{ inputs.SUB_STRING }}"* ]]; then echo "Release candidate tag found." else