Commit f57c7d24 authored by Jochen Kressin's avatar Jochen Kressin
Browse files

replaced key with variable and revoked key

parent 8f99f451
......@@ -3,7 +3,7 @@ PLUGIN_NAME=searchguard-kibana
PLUGIN_VERSION=5.3.1-3-SNAPSHOT
echo "Uploading ./releases/$PLUGIN_VERSION/$PLUGIN_NAME-$PLUGIN_VERSION.zip"
cresponse=$(curl --write-out %{http_code} --silent --output uploadresult -X POST -F fileUpload=@./releases/$PLUGIN_VERSION/$PLUGIN_NAME-$PLUGIN_VERSION.zip 'https://www.filestackapi.com/api/store/S3?key=Aa30JUUJZQ4i5UPcU5BUHz')
cresponse=$(curl --write-out %{http_code} --silent --output uploadresult -X POST -F fileUpload=@./releases/$PLUGIN_VERSION/$PLUGIN_NAME-$PLUGIN_VERSION.zip 'https://www.filestackapi.com/api/store/S3?key=$FILESTACK_KEY')
response="$(echo "$cresponse" | cut -c1-3)"
if ! [[ $response == "200" ]] ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment