Simple tool for pushing new production releases to the Google Docs "production document".
-
Git clone this repo locally.
-
Install dependencies:
yarn
or
npm i
Reference to Google Clasp CLI: https://github.com/google/clasp
-
Drop in the release assets directory and make sure it's named
dist
(or rename therootDir
property in .clasp.json to match).Project structure should look like:
├── clasp-pusher/ | ├── dist/ # Assets used for publishing to Chrome Web-Store. | ├── node_modules/ | ├── .clasp.json/ | ├── .gitignore/ | ├── package.json/ ...etc
-
Fill out the
.clasp.json
file with the correct "production document" script id. -
You may need to login with clasp:
yarn clasp:login
or
npm run clasp:login
-
From terminal (in project root), run:
yarn clasp:push
or
npm run clasp:push