Skip to content

Commit 3d6d0f9

Browse files
Package version 0.2.70
1 parent 0a69733 commit 3d6d0f9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

release.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ set -e # fail on error
33
echo "Creating a new release"
44
npm ci
55
package_version=$(cat package.json | jq -r '.version')
6-
echo "publish to npm"
7-
npm publish
6+
87
# tag on github
98
echo "create tag ${package_version}"
10-
git ci -a -m "Package version ${package_version}"
9+
git ci -a -m "Package version ${package_version}" --allow-empty
1110
git tag -a $package_version -m "Release of version $package_version"
1211
git push --tags
12+
13+
# publish to npm
14+
echo "publish to npm"
15+
npm publish --access public
16+
1317
# done
14-
echo "Done!"
18+
echo "Done"
19+
echo "Please update the releases tab here: https://github.com/daostack/arc.js/releases"

0 commit comments

Comments
 (0)