We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5f6fb commit 797ddbfCopy full SHA for 797ddbf
1 file changed
packages/cli/package.json
@@ -25,7 +25,7 @@
25
"version:patch": "npm version patch",
26
"version:minor": "npm version minor",
27
"version:major": "npm version major",
28
- "prepublishOnly": "echo '❌ Use GitHub Actions for publishing! Run: git push origin main' && exit 1"
+ "prepublishOnly": "node -e \"if (!process.env.CI) { console.log('❌ Use GitHub Actions for publishing! Run: git push origin main'); process.exit(1); }\""
29
},
30
"keywords": [
31
"ssh",
0 commit comments