Skip to content

Commit

Permalink
Merge pull request #40 from MarcusLongmuir/master
Browse files Browse the repository at this point in the history
Bump to 0.3.0-beta
  • Loading branch information
MarcusLongmuir authored May 4, 2017
2 parents 1e801dc + 8b8e99e commit 7174732
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grpc-web-client",
"version": "0.2.1",
"version": "0.3.0-beta",
"description": "gRPC-Web client for browsers (JS/TS)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
10 changes: 8 additions & 2 deletions ts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@ if [ -z ${VERSION} ]; then
exit 1
fi

TAG=${2}
if [ -z ${TAG} ]; then
echo "TAG not set (e.g.\"latest\" or \"beta\")"
exit 1
fi

if [[ `git status --porcelain` ]]; then
echo "There are pending changes, refusing to release."
exit 1
fi

read -p "Release v${VERSION}? " -n 1 -r
read -p "Release v${VERSION} with tag ${TAG}? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo "Building standalone artifact"
npm run lib:build

echo "Staring npm publish"
npm publish
npm publish --tag $TAG

echo "Creating Github release branch release/v${VERSION}"
git checkout -b release/v${VERSION}
Expand Down
1 change: 0 additions & 1 deletion ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"removeComments": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
Expand Down

0 comments on commit 7174732

Please sign in to comment.