Build: allow bash to expand the wildcard (#18354)

If wildcards are in the quotes they not going to be expanded
This commit is contained in:
Oleg Gaidarenko 2019-08-02 14:22:50 +03:00 committed by Leonard Gram
parent 142c7eb0e6
commit 89a4f30eab
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ mkdir -p /deb-repo/db \
gsutil -m rsync -r -d "gs://$GCP_DB_BUCKET/$RELEASE_TYPE" /deb-repo/db
# Add the new release to the repo
cp "$DIST_PATH/*.deb" /deb-repo/tmp
cp "$DIST_PATH"/*.deb /deb-repo/tmp
rm /deb-repo/tmp/grafana_latest*.deb || true
aptly repo add "$REPO" /deb-repo/tmp #adds too many packages in enterprise

View File

@ -33,7 +33,7 @@ mkdir -p /rpm-repo
gsutil -m rsync -r "$BUCKET" /rpm-repo
# Add the new release to the repo
cp "$DIST_PATH/*.rpm" /rpm-repo # adds to many files for enterprise
cp "$DIST_PATH"/*.rpm /rpm-repo # adds to many files for enterprise
rm /rpm-repo/grafana-latest-1*.rpm || true
createrepo /rpm-repo