CI: Fix release-comms regex (#91024)

Fix release-comms regex
This commit is contained in:
Kevin Minehart
2024-07-26 01:18:22 -05:00
committed by GitHub
parent 190256ee2f
commit a19a9903bf

View File

@@ -38,7 +38,7 @@ jobs:
echo "LATEST=${{ inputs.latest }}" >> $GITHUB_ENV echo "LATEST=${{ inputs.latest }}" >> $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\/.*\///g')" >> $GITHUB_ENV
echo "DRY_RUN=true" >> $GITHUB_ENV echo "DRY_RUN=true" >> $GITHUB_ENV
echo "LATEST=${{ contains(github.event.pull_request.labels.*.name, 'release/latest') }}" >> $GITHUB_ENV echo "LATEST=${{ contains(github.event.pull_request.labels.*.name, 'release/latest') }}" >> $GITHUB_ENV
- id: output - id: output