Skip to content

Commit ea66d5a

Browse files
committed
Rename SKIP_INDEX to DO_NOT_ADD_TO_EXCHANGE_INDEX
1 parent 299a701 commit ea66d5a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.circle/deployment

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,11 @@ if ! git -C ~/index diff --quiet --exit-code --cached
110110
then
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."

0 commit comments

Comments
 (0)