[release-11.5.5] CI: Fix bug in post-release workflow (#104543)

CI: Fix bug in post-release workflow (#103368)

version should be prefixed with a v

(cherry picked from commit 5a2eedbae1)
pull/104632/head
Kevin Minehart 2 months ago committed by GitHub
parent 4042e67bfd
commit 9d6c9b7503
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/release-comms.yml

@ -41,7 +41,7 @@ jobs:
echo "LATEST=${{ inputs.latest && '1' || '0' }}" >> $GITHUB_ENV echo "LATEST=${{ inputs.latest && '1' || '0' }}" >> $GITHUB_ENV
- if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') }} - if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') }}
run: | run: |
echo "VERSION=$(echo ${{ github.head_ref }} | sed -e 's/release\/.*\///g')" >> $GITHUB_ENV echo "VERSION=$(echo ${{ github.head_ref }} | sed -e 's/release\/.*\//v/g')" >> $GITHUB_ENV
echo "DRY_RUN=${{ contains(github.event.pull_request.labels.*.name, 'release/dry-run') }}" >> $GITHUB_ENV echo "DRY_RUN=${{ contains(github.event.pull_request.labels.*.name, 'release/dry-run') }}" >> $GITHUB_ENV
echo "LATEST=${{ contains(github.event.pull_request.labels.*.name, 'release/latest') && '1' || '0' }}" >> $GITHUB_ENV echo "LATEST=${{ contains(github.event.pull_request.labels.*.name, 'release/latest') && '1' || '0' }}" >> $GITHUB_ENV
- id: output - id: output

Loading…
Cancel
Save