From 71787b5399db4881855ee660c2888eb1d10acd9d Mon Sep 17 00:00:00 2001 From: Vishwas Siravara Date: Wed, 28 Dec 2022 11:13:52 -0800 Subject: [PATCH] fix: Add command to fetch remote tags (#26) Issue #, if available: *Description of changes:* Fix to fetch remote tags for sub modules in order to checkout latest tag. *Testing done:* Yes. - [X] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Vishwas Siravara --- .github/workflows/submodulesync.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/submodulesync.yaml b/.github/workflows/submodulesync.yaml index 2aeb31e..e635f71 100644 --- a/.github/workflows/submodulesync.yaml +++ b/.github/workflows/submodulesync.yaml @@ -16,6 +16,7 @@ jobs: - name: Update sub modules run: | git submodule update --remote + cd src/lima && git fetch --tags TAG=`cd src/lima && git describe --tags $(git rev-list --tags --max-count=1)` echo "Pulling changes from release: $TAG" cd src/lima && git checkout $TAG