We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9b427 commit d05a741Copy full SHA for d05a741
bin/build-stemcell-automation-zip.sh
@@ -14,10 +14,11 @@ cp "${OPENSSH_ZIP}" "${TEMP_DIR}/OpenSSH-Win64.zip"
14
cp "${BOSH_PSMODULES_ZIP}" "${TEMP_DIR}/bosh-psmodules.zip"
15
cp "${AGENT_ZIP}" "${TEMP_DIR}/agent.zip"
16
cp "${DEPS_JSON}" "${TEMP_DIR}/deps.json"
17
-for file in $(ls "${REPO_ROOT}"/stembuild/stemcell-automation/*ps1 | grep -iv Test); do
18
- cp "${file}" "${TEMP_DIR}"
+for file in ~/workspace/stembuild/stemcell-automation/*ps1; do
+ if ! [[ "${file}" =~ .*\.Tests\.ps1 ]]; then
19
+ cp "${file}" "${TEMP_DIR}"
20
+ fi
21
done
-
22
rm -f "${REPO_ROOT}/stembuild/assets/StemcellAutomation.zip"
23
24
zip -rj "${REPO_ROOT}/stembuild/assets/StemcellAutomation.zip" "${TEMP_DIR}"
0 commit comments