Skip to content

Commit 88d6a6f

Browse files
authored
Merge pull request #1277 from smallstep/jdoss/Filter_armhf6_deb
Skip uploading armhf6 deb
2 parents acb623a + 053f042 commit 88d6a6f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/package-upload.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22

33
set -e
4+
set -x
45

56
FILE="${1}"
67
PACKAGE="${2}"
@@ -13,7 +14,11 @@ echo "Release: ${RELEASE}"
1314
echo "Location: ${GCLOUD_LOCATION}"
1415

1516
if [ "${FILE: -4}" == ".deb" ]; then
16-
gcloud storage cp ${FILE} gs://artifacts-outgoing/${PACKAGE}/deb/${VERSION}/
17+
if [[ "${FILE}" =~ "armhf6" ]]; then
18+
echo "Skipping ${FILE} due to GCP Artifact Registry armhf conflict!"
19+
else
20+
gcloud storage cp ${FILE} gs://artifacts-outgoing/${PACKAGE}/deb/${VERSION}/
21+
fi
1722
else
1823
gcloud storage cp ${FILE} gs://artifacts-outgoing/${PACKAGE}/rpm/${VERSION}/
1924
fi

0 commit comments

Comments
 (0)