Merge pull request #1243 from theHamsta/fix-update-header-pr

ci: fix bash command to retrieve latest Vulkan-Headers commit
This commit is contained in:
Andreas Süßenbach 2022-03-15 12:03:46 +01:00 committed by GitHub
commit f61d7d117f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ jobs:
run: |
git submodule update --init --recursive
cd Vulkan-Headers
VK_HEADER_GIT_TAG=$(git describe --tags $(git rev-list --tags | grep 'v\d\.' | head -n1))
VK_HEADER_GIT_TAG=$(git describe --always --tags $(git rev-list --tags) | grep 'v[0-9]\.' | 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