Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/docs-examples/checksum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b9209ed9408e9a0da1e4361e164db43d
339650df9bc614a8bfd4abdc4400bc03
11 changes: 11 additions & 0 deletions contrib/publish_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,15 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd ..

CURRENT_VERSION=`node -e 'console.log(require("./lerna.json").version)'`

# Delete the version tag that was generated by "lerna version"
git tag --delete "v$CURRENT_VERSION"
git push --delete upstream "v$CURRENT_VERSION"

# Tag the current commit as the new version
git tag "v$CURRENT_VERSION"
git push upstream "v$CURRENT_VERSION"

# Publish the SDK from the current git HEAD
lerna publish from-git