Created
November 9, 2022 14:39
-
-
Save eloyesp/454868636d944f09b96863182d4a1252 to your computer and use it in GitHub Desktop.
Apply changes to several themes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e # exit | |
# set -x # trace | |
# trap "set +x; read; set -x;" debug | |
for THEME in (shopify theme list output edited here) | |
do | |
git checkout -B bfcm us-live | |
shopify theme pull -t $THEME | |
git add config/ templates/ | |
git live | |
git merge --no-edit master | |
shopify theme push -t $THEME | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment