Skip to content

Commit

Permalink
Updating release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jun 29, 2016
1 parent a5d507b commit 4febc8e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash
set -e

if [ -z $1 ]; then
echo "Please provide a release version: patch, minor or major"
exit
Expand All @@ -9,14 +12,12 @@ if [ $( npm whoami ) != "deepstreamio" ]; then
fi

echo 'Starting release'

npm version $1

echo 'Pushing to github'
git push --follow-tags

echo "Now we wait for the CI to build and upload artifacts to release"



echo 'Publishing to npm'
npm publish

echo "Now we wait for the CI to build and upload artifacts to release"

0 comments on commit 4febc8e

Please sign in to comment.