Skip to content

Commit

Permalink
Refactor release:cli script to include yarn build before executing do…
Browse files Browse the repository at this point in the history
…tenv and publish-extension commands
  • Loading branch information
Royal-lobster committed Nov 19, 2023
1 parent 920817c commit 01e4e48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added artifacts/chrome.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"release": "yarn build && publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"release:cli": "dotenv -e .env -- publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"release:cli": "yarn build && dotenv -e .env -- publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"format": "rome format . --write",
"lint": "rome check .",
"flush": "rm -rf artifacts/ dist/",
Expand Down

0 comments on commit 01e4e48

Please sign in to comment.