Skip to content

Commit cc4ceb6

Browse files
jdosstashian
authored andcommitted
Update scripts/package-repo-import.sh
Co-authored-by: Carl Tashian <[email protected]>
1 parent afedfdc commit cc4ceb6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/package-repo-import.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ check_package() {
3030
|| EXITCODE=$?
3131
if [[ "${EXITCODE}" -eq 0 ]]; then
3232
echo "Package version already exists. Removing it..."
33-
gcloud artifacts versions delete --quiet "${VER}" --package "${PACKAGE}" --repository "${REPO}" --location "${GCLOUD_LOCATION}"
33+
gcloud artifacts versions delete \
34+
--quiet "${VER}" \
35+
--package "${PACKAGE}" \
36+
--repository "${REPO}" \
37+
--location "${GCLOUD_LOCATION}"
3438
touch /tmp/version-deleted.stamp
3539
fi
3640
fi

0 commit comments

Comments
 (0)