diff --git a/Sources/update-submodules.txt b/Sources/update-submodules-template.txt similarity index 81% rename from Sources/update-submodules.txt rename to Sources/update-submodules-template.txt index bd38370..e50ce52 100644 --- a/Sources/update-submodules.txt +++ b/Sources/update-submodules-template.txt @@ -20,13 +20,15 @@ jobs: - name: Add uYouEnhanced submodules run: | -// git submodule add https://github.com/PoomSmart/FLEXing.git Tweaks/FLEXing +# git submodule add https://github.com/PoomSmart/FLEXing.git Tweaks/FLEXing git submodule add https://github.com/dayanch96/uYouLocalization.git Tweaks/uYouLocalization git submodule add https://github.com/arichorn/YTHoldForSpeed.git Tweaks/YTHoldForSpeed git add . git commit -m "added uYouEnhanced submodules" git push origin +# ⬇️ this is for updating the submodules all at once. it's not recommended for use due to errors. + # - name: Update submodules # run: | # git submodule update --init --recursive --remote @@ -35,6 +37,8 @@ jobs: # git push origin # continue-on-error: true +# ⬇️ this is the current method of updating the submodules for uYouEnhanced + - name: Update submodules run: | git submodule update --init --recursive --remote Tweaks/Alderis @@ -43,8 +47,6 @@ jobs: git add . git submodule update --init --recursive --remote Tweaks/YTHoldForSpeed git add . - git submodule update --init --recursive --remote Tweaks/MrBeastify - git add . git submodule update --init --recursive --remote Tweaks/PSHeader git add . git submodule update --init --recursive --remote Tweaks/Return-YouTube-Dislikes @@ -71,6 +73,8 @@ jobs: git push origin continue-on-error: true +# ⬇️ this is required for adding custom submodule(s) that include a .bundle file. it is recommended for use. + - name: Make .bundle files run: | cd Bundles @@ -81,6 +85,18 @@ jobs: git commit -m "Added bundles" git push origin +# ⬇️ this is only necessary if you want to delete .bundle files if you planned on removing submodule(s) or your custom submodule(s). + +# - name: Delete .bundle files +# run: | +# cd Bundles +# rm -f MrBeastify.bundle +# rm -f uYouLocalization.bundle +# rm -f YTHoldForSpeed.bundle +# git add . +# git commit -m "Deleted bundles" +# git push origin + - name: Check exit code run: | exit_code=$?