Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add gh version script

Tomas Valenta00b98442b4ca
diff --git a/package.json b/package.json
index 7d7a37a09..ae5bc5e76 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
"main": "index.js",
"private": true,
"scripts": {
+ "gh:version": "echo ::set-output name=changes::$(npx changeset version 2>&1 | grep -q 'No unreleased changesets found' && echo 'false' || echo 'true') && npm run postVersion --workspaces --if-present",
"version": "changeset version && npm run postVersion --workspaces --if-present",
"publish": "changeset publish && npm run postPublish --workspaces --if-present",
"test": "npm run test --workspaces --if-present"