Skip to content

Commit d3e5b0a

Browse files
authored
ci: copy "Update Submodules" from update-vulkan-headers-pr to set-version-tag (#2534)
1 parent 82c5080 commit d3e5b0a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/set-version-tag.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
- name: Update Submodules
1717
run: |
1818
cd Vulkan-Headers
19-
VK_HEADER_GIT_TAG=$(git tag --points-at HEAD | head -n1)
19+
git fetch --all --tags
20+
VK_HEADER_GIT_TAG=$(git describe --always --tags $(git rev-list --tags) | grep 'v[0-9]\.' | head -n1)
21+
echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG"
2022
git checkout $VK_HEADER_GIT_TAG
2123
echo "VK_HEADER_GIT_TAG=$VK_HEADER_GIT_TAG" >> $GITHUB_ENV
2224

0 commit comments

Comments
 (0)