Skip to content

Commit

Permalink
fix: Add command to fetch remote tags (#26)
Browse files Browse the repository at this point in the history
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 <siravara@amazon.com>
  • Loading branch information
vsiravar authored Dec 28, 2022
1 parent b235ec2 commit 71787b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/submodulesync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71787b5

Please sign in to comment.