We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be3c6e9 commit c675945Copy full SHA for c675945
.github/workflows/dev_build_svace.yml
@@ -49,7 +49,8 @@ jobs:
49
id: modules_module_tag
50
run: |
51
if [[ "${{ github.event_name }}" == 'schedule' ]]; then
52
- CHECKOUT_TAG=$(git branch --all | grep -E 'remotes\/[^/]+\/release-[0-9]+\.[0-9]-cse+$' | sort -V)
+ # get last semver branch with remotes/<remote>/release-X.Y format
53
+ CHECKOUT_TAG=$(git branch --all | grep -E 'remotes\/[^/]+\/release-[0-9]+\.[0-9]-cse+$' | sort -V | tail -n 1)
54
else
55
CHECKOUT_TAG=${{ github.event.pull_request.head.sha || github.sha }}
56
fi
0 commit comments