mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-09 14:10:07 +00:00
fix(ci): filter out publications of Vulkan SC on update
The publication of Vulkan SC (https://www.khronos.org/news/press/khronos-releases-vulkan-safety-critical-1.0-specification-to-deliver-safety-critical-graphics-compute) confused the update job since it was the most recent tag. Preliminary solution: only accept tags that match `v1\.`.
This commit is contained in:
parent
7638a1ec6c
commit
86b93be4e6
3
.github/workflows/update-header-pr.yml
vendored
3
.github/workflows/update-header-pr.yml
vendored
@ -24,7 +24,8 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd Vulkan-Headers
|
||||
VK_HEADER_GIT_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
VK_HEADER_GIT_TAG=$(git describe --tags $(git rev-list --tags | grep 'v\d\.' | head -n1))
|
||||
echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG"
|
||||
git checkout $VK_HEADER_GIT_TAG
|
||||
echo "VK_HEADER_GIT_TAG=$VK_HEADER_GIT_TAG" >> $GITHUB_ENV
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user