From 88ec13796df2c232de82c9849b89c55050033a53 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Tue, 15 Mar 2022 10:19:49 +0100 Subject: [PATCH] ci: fix bash command to retrieve latest Vulkan-Headers commit --- .github/workflows/update-header-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-header-pr.yml b/.github/workflows/update-header-pr.yml index 5f31a70..ca7b86d 100644 --- a/.github/workflows/update-header-pr.yml +++ b/.github/workflows/update-header-pr.yml @@ -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