Skip to content

Commit 51b7e2d

Browse files
committed
feat(public-publish): add script and bump version
1 parent 8571e89 commit 51b7e2d

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@integromat/make-cli",
33
"displayName": "Make Apps Editor",
44
"description": "Helps to create, develop, download and deploy apps of the Make no-code visual integration and automation platform.",
5-
"version": "2.4.2",
5+
"version": "2.4.5",
66
"icon": "resources/make.png",
77
"repository": {
88
"type": "git",

publish.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/sh
2+
3+
echo "This script will make changes to package.json and node_modules. They will not be commited. You are expected to revert them after publish."
4+
read -p "You must bump your version before publish. Have you done so? (y/N) " -n 1 -r
5+
echo
6+
7+
if [[ ! $REPLY =~ ^[Yy]$ ]]
8+
then
9+
[[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1
10+
fi
11+
12+
13+
echo "==== Removing private packages ===="
14+
15+
npm uninstall @integromat/iml @integromat/udt
16+
17+
npm install
18+
19+
echo "==== Publishing to npmjs.org ===="
20+
21+
npm publish --access=restricted
22+

0 commit comments

Comments
 (0)