Skip to content

Commit b3a678b

Browse files
authored
fix: Publish script (#966)
A space before the bash bang was making it being executed through sh in ubuntu:latest as part of the promote production CI pipeline, on which an option set in the script is not supported. Remove the extra space so the sript is executed in bash and 'set -eufo pipefile' is applied correctly.
1 parent 3d33fe5 commit b3a678b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎scripts/publish-gcom.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash
22
# This is used in Drone to generate the version string for automatic PR creation
33
set -eufo pipefail
44

@@ -11,4 +11,4 @@ curl -f -w "status=%{http_code}" -s -H "Authorization: Bearer ${GRAFANA_API_KEY}
1111
-d "download[any][url]=https://storage.googleapis.com/synthetic-monitoring-app-prod/builds/${VERSION}/grafana-synthetic-monitoring-app-${VERSION}.zip" \
1212
-d "download[any][md5]=$$(curl -sL https://storage.googleapis.com/synthetic-monitoring-app-prod/builds/${VERSION}/grafana-synthetic-monitoring-app-${VERSION}.zip | md5sum | cut -d' ' -f1)" \
1313
-d url=https://github.com/grafana/synthetic-monitoring-app \
14-
"https://grafana.com/api/plugins"
14+
"https://grafana.com/api/plugins"

0 commit comments

Comments
 (0)