From 23b72e33b8ea49c0f936f634a9292c76fb46d950 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Thu, 21 Mar 2024 19:47:53 -0500 Subject: [PATCH] Added Update Submodules Template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’m doing this because some of y’all are confused with the adding, updating, removing Submodules on the Wiki. This commit was done to resolve some confusion regarding that matter. --- ...les.txt => update-submodules-template.txt} | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) rename Sources/{update-submodules.txt => update-submodules-template.txt} (81%) 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=$?