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.
2 parents acb623a + 053f042 commit 88d6a6fCopy full SHA for 88d6a6f
scripts/package-upload.sh
@@ -1,6 +1,7 @@
1
#!/usr/bin/env bash
2
3
set -e
4
+set -x
5
6
FILE="${1}"
7
PACKAGE="${2}"
@@ -13,7 +14,11 @@ echo "Release: ${RELEASE}"
13
14
echo "Location: ${GCLOUD_LOCATION}"
15
16
if [ "${FILE: -4}" == ".deb" ]; then
- 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
22
else
23
gcloud storage cp ${FILE} gs://artifacts-outgoing/${PACKAGE}/rpm/${VERSION}/
24
fi
0 commit comments