fix(ci): Yet another patch to ensure the PR number is always in the tag

Got this in main, overlooked it here. Didn't notice it as the prior fix still
resulted in a proper push.
This commit is contained in:
RJ Trujillo 2023-08-16 15:17:13 -06:00
parent 05baeb3b36
commit b7656fb76e

View File

@ -89,7 +89,7 @@ jobs:
COMMIT_TAGS+=("${SHA_SHORT}-${MAJOR_VERSION}")
if [[ "${{ matrix.is_latest_version }}" == "true" ]] && \
[[ "${{ matrix.is_stable_version }}" == "true" ]]; then
COMMIT_TAGS+=("pr-${{ github.event.number }}")
COMMIT_TAGS+=("pr-${{ github.event.pull_request.number }}")
COMMIT_TAGS+=("${SHA_SHORT}")
fi