From ad8dc9bd112db6499e9eb999c720a70b2329059b Mon Sep 17 00:00:00 2001 From: Hideki Ikemoto Date: Sun, 14 Aug 2022 23:23:02 +0900 Subject: [PATCH] chore: remove unused script --- scripts/publish-to-chrome-web-store.sh | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 scripts/publish-to-chrome-web-store.sh diff --git a/scripts/publish-to-chrome-web-store.sh b/scripts/publish-to-chrome-web-store.sh deleted file mode 100644 index 7c4ec454..00000000 --- a/scripts/publish-to-chrome-web-store.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -ACCESS_TOKEN=$(curl "https://accounts.google.com/o/oauth2/token" -d "client_id=${GSB_API_CLIENT_ID}&client_secret=${GSB_API_CLIENT_SECRET}&refresh_token=${GSB_OAUTH_REFRESH_TOKEN}&grant_type=refresh_token&redirect_uri=urn:ietf:wg:oauth:2.0:oob" | jq -r .access_token) -curl -H "Authorization: Bearer ${ACCESS_TOKEN}" -H "x-goog-api-version: 2" -X PUT -T tmp/workspace/gossip-site-blocker.zip -v "https://www.googleapis.com/upload/chromewebstore/v1.1/items/${GSB_APP_ID_BETA}" -curl -H "Authorization: Bearer ${ACCESS_TOKEN}" -H "x-goog-api-version: 2" -H "Content-Length: 0" -X POST -v "https://www.googleapis.com/chromewebstore/v1.1/items/${GSB_APP_ID_BETA}/publish"