mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-09 11:58:06 -04:00
ci: fix update-header-pr (tags were not fetched) (#1510)
Run without `git fetch --all --tags`: https://github.com/theHamsta/Vulkan-Hpp/actions/runs/4221771719/jobs/7329463344 Run with `git fetch --all --tags`: https://github.com/theHamsta/Vulkan-Hpp/actions/runs/4221781287/jobs/7329484407 resulting in this PR https://github.com/theHamsta/Vulkan-Hpp/pull/19
This commit is contained in:
parent
bd81847c98
commit
cae1916b24
1
.github/workflows/update-header-pr.yml
vendored
1
.github/workflows/update-header-pr.yml
vendored
@ -30,6 +30,7 @@ jobs:
|
|||||||
- name: Update Submodules
|
- name: Update Submodules
|
||||||
run: |
|
run: |
|
||||||
cd Vulkan-Headers
|
cd Vulkan-Headers
|
||||||
|
git fetch --all --tags
|
||||||
VK_HEADER_GIT_TAG=$(git describe --always --tags $(git rev-list --tags) | grep 'v[0-9]\.' | 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"
|
echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG"
|
||||||
git checkout $VK_HEADER_GIT_TAG
|
git checkout $VK_HEADER_GIT_TAG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user