Skip to content

Commit

Permalink
Merge pull request #20 from RagnarokResearchLab/fix-weekly-releases
Browse files Browse the repository at this point in the history
Fix an error when updating submodules in the weekly release workflow
  • Loading branch information
rdw-software authored Oct 28, 2024
2 parents b96ec8e + 75423d5 commit 428cfe0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion update-submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ git submodule foreach '
git checkout $(git rev-parse --abbrev-ref HEAD)
git reset --hard origin/HEAD
'
git branch -d submodule-update-tracking
if git rev-parse --verify --quiet submodule-update-tracking; then
git branch -d submodule-update-tracking
fi
git checkout -b submodule-update-tracking
git add .
git commit -m "Update all submodules to the latest HEAD"

0 comments on commit 428cfe0

Please sign in to comment.