aboutsummaryrefslogtreecommitdiffstats
path: root/screwdriver/upload-rpm-to-cloudsmith.sh
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-11-08 11:01:06 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-11-08 11:01:06 +0100
commit7cae1199b2fbaf5f42184611756ba45a36c48dc0 (patch)
tree654a10340976020b92b6a9b59422e39f0dbc4db4 /screwdriver/upload-rpm-to-cloudsmith.sh
parent6296ebad00191a453e7afb5ec9726e6203f8eaff (diff)
Renamed repo vespa/vespa -> vespa/open-source-rpms
Diffstat (limited to 'screwdriver/upload-rpm-to-cloudsmith.sh')
-rwxr-xr-xscrewdriver/upload-rpm-to-cloudsmith.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/screwdriver/upload-rpm-to-cloudsmith.sh b/screwdriver/upload-rpm-to-cloudsmith.sh
index dd24185433b..6cd50277b3d 100755
--- a/screwdriver/upload-rpm-to-cloudsmith.sh
+++ b/screwdriver/upload-rpm-to-cloudsmith.sh
@@ -23,13 +23,13 @@ main() {
--upload-file $RPM \
-u "$CLOUDSMITH_API_CREDS" \
-H "Content-Sha256: $(sha256sum $RPM | cut -f1 -d' ')" \
- https://upload.cloudsmith.io/vespa/vespa/$RPM | jq -re '.identifier')
+ https://upload.cloudsmith.io/vespa/open-source-rpms/$RPM | jq -re '.identifier')
if [[ -n $FID ]]; then
curl -sLf -X POST -H "Content-Type: application/json" \
-u "$CLOUDSMITH_API_CREDS" \
-d "{\"package_file\": \"$FID\", \"distribution\": \"$OS_DISTRO/$RELEASEVER\"}" \
- https://api-prd.cloudsmith.io/v1/packages/vespa/vespa/upload/rpm/
+ https://api-prd.cloudsmith.io/v1/packages/vespa/open-source-rpms/upload/rpm/
fi
}