# Swap to creating END_PACKAGES if we are running in a CI job (determined by if
# we have a workspace env) or if the starting packages listing already exists.
PACKAGES="${START_PACKAGES}"
# Swap to creating END_PACKAGES if we are running in a CI job (determined by if
# we have a workspace env) or if the starting packages listing already exists.
PACKAGES="${START_PACKAGES}"
# ` || true` Ignore exit code because diff exits 1 when there is a diff
diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}" || true
fi
# If running in a Jenkins job, then copy the created files to the archives
# location
# ` || true` Ignore exit code because diff exits 1 when there is a diff
diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}" || true
fi
# If running in a Jenkins job, then copy the created files to the archives
# location