joinlemmy-site/update_submodules.sh

26 lines
443 B
Bash
Raw Normal View History

#!/bin/bash
2023-02-22 14:06:38 +00:00
# Note:
# To update lemmy-js-client, first change its branch in your .gitmodules
pushd ../joinlemmy-translations
git fetch weblate
git merge weblate/main
git push
popd
pushd ../lemmy-translations
git fetch weblate
git merge weblate/main
git push
popd
git submodule update --remote
git add joinlemmy-translations
git add lemmy-translations
git add lemmy-docs
git add lemmy-js-client
git commit -m"Updating submodules"
git push