ppalaga commented on PR #4768:
URL: https://github.com/apache/camel-quarkus/pull/4768#issuecomment-1507162042
> > we somehow need to alternate between GITHUB_REF_NAME and GITHUB_BASE_REF.
>
> I did this:
> ```
> if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.x ||
${GITHUB_BASE_REF} =~ [0-9]+.[0-9]+.x ]]; then
> ```
... and it did not work. Waiting for the native jobs to finish before fixing
it with
```
if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.x ]]; then
EXAMPLES_BRANCH=${GITHUB_REF_NAME}
elif [[ ${GITHUB_BASE_REF} =~ [0-9]+.[0-9]+.x ]]; then
EXAMPLES_BRANCH=${GITHUB_BASE_REF}
fi
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]