File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,10 +110,11 @@ if ! git -C ~/index diff --quiet --exit-code --cached
110110then
111111 echo " Updating the index repo..."
112112 git -C ~ /index commit -m " Update the ${PACK_NAME} pack."
113- if [[ ${SKIP_INDEX:- false} == " true" ]]; then
114- echo " Skipping index update due to SKIP_INDEX=${SKIP_INDEX} "
115- echo " SKIP_INDEX is for packs that are only used in CI;"
116- echo " Normal packs push to the index repo at this point."
113+ if [[ ${DO_NOT_ADD_TO_EXCHANGE_INDEX:- false} == " true" ]]; then
114+ echo " Normal packs update the Exchange index at this point."
115+ echo " This pack will not be added to the Exchange index because of this env var:"
116+ echo " DO_NOT_ADD_TO_EXCHANGE_INDEX=${DO_NOT_ADD_TO_EXCHANGE_INDEX} "
117+ echo " (This var should only be set per-repo in the CI system's UI.)"
117118 else
118119 git -C ~ /index push -q origin
119120 echo " Index updated."
You can’t perform that action at this time.
0 commit comments