Skip to content

Instantly share code, notes, and snippets.

@eloyesp
Created November 9, 2022 14:39
Show Gist options
  • Save eloyesp/454868636d944f09b96863182d4a1252 to your computer and use it in GitHub Desktop.
Save eloyesp/454868636d944f09b96863182d4a1252 to your computer and use it in GitHub Desktop.
Apply changes to several themes
#!/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