Bumped version.
This commit is contained in:
parent
fa9fead231
commit
290e662b82
56
package-lock.json
generated
56
package-lock.json
generated
@ -1,9 +1,18 @@
|
||||
{
|
||||
"name": "bitcore",
|
||||
"version": "5.0.0-beta.15",
|
||||
"version": "5.0.0-beta.16",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"JSONStream": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz",
|
||||
"integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=",
|
||||
"requires": {
|
||||
"jsonparse": "1.3.1",
|
||||
"through": "2.3.8"
|
||||
}
|
||||
},
|
||||
"abstract-leveldown": {
|
||||
"version": "2.6.2",
|
||||
"resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.2.tgz",
|
||||
@ -458,9 +467,9 @@
|
||||
}
|
||||
},
|
||||
"bitcore-node": {
|
||||
"version": "5.0.0-beta.15",
|
||||
"resolved": "https://registry.npmjs.org/bitcore-node/-/bitcore-node-5.0.0-beta.15.tgz",
|
||||
"integrity": "sha512-iLxNu15Dk6MgpLdGy2xscuGv7UjeC+mex34fJnn6mWhYsUj6M6E3kKgddXEECQ45FrizNLR7yVZRae3fGCu/HA==",
|
||||
"version": "5.0.0-beta.16",
|
||||
"resolved": "https://registry.npmjs.org/bitcore-node/-/bitcore-node-5.0.0-beta.16.tgz",
|
||||
"integrity": "sha512-fsQ/Eooq12TzcdvmM0z5JBuJkQAeguUmtKNr8U8X3VdcbVAeaLnjT0gbCN4f9FNUhfZYLvCjnRODGLpDK0fHLQ==",
|
||||
"requires": {
|
||||
"async": "2.5.0",
|
||||
"bcoin": "github:bitpay/bcoin#46ecd2c4ed3b7fbcadd9cfe10b0f5d64e4c5088d",
|
||||
@ -1624,17 +1633,17 @@
|
||||
"integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4="
|
||||
},
|
||||
"insight-api": {
|
||||
"version": "5.0.0-beta.15",
|
||||
"resolved": "https://registry.npmjs.org/insight-api/-/insight-api-5.0.0-beta.15.tgz",
|
||||
"integrity": "sha512-ZRCiSwIQZmYhv9pI1YaV4g4a8MjHj+vW7UKJQspmssDi8tttxDzbWtE5w1EyvQnnUuV1LESwjYWylbJX8uj+3g==",
|
||||
"version": "5.0.0-beta.16",
|
||||
"resolved": "https://registry.npmjs.org/insight-api/-/insight-api-5.0.0-beta.16.tgz",
|
||||
"integrity": "sha512-H2tL//7T+v2tL1e1L7nnAn+6V+2SjiUkYUq0Vx3nFSXCKK+82PA5eSTJjLl7kiz9a72e909BkmhCldkJjHQOmQ==",
|
||||
"requires": {
|
||||
"JSONStream": "1.3.1",
|
||||
"async": "2.5.0",
|
||||
"bcoin": "github:bcoin-org/bcoin#886008a1822ce1da7fa8395ee7db4bcc1750a28a",
|
||||
"bitcore-lib": "5.0.0-beta.1",
|
||||
"bitcore-message": "1.0.4",
|
||||
"body-parser": "1.17.2",
|
||||
"compression": "1.7.0",
|
||||
"JSONStream": "1.3.1",
|
||||
"lodash": "2.4.2",
|
||||
"lru-cache": "4.1.1",
|
||||
"morgan": "1.8.2",
|
||||
@ -1649,9 +1658,9 @@
|
||||
}
|
||||
},
|
||||
"insight-ui": {
|
||||
"version": "5.0.0-beta.15",
|
||||
"resolved": "https://registry.npmjs.org/insight-ui/-/insight-ui-5.0.0-beta.15.tgz",
|
||||
"integrity": "sha512-OziDwyh7eh5rnTNUl0ATUDY0RrCCWKaoSDadzeI3Cmb2t/AYYDZxceIS4uW8TKaw4VPjcqzyJUcI4v9r0mb+6g=="
|
||||
"version": "5.0.0-beta.16",
|
||||
"resolved": "https://registry.npmjs.org/insight-ui/-/insight-ui-5.0.0-beta.16.tgz",
|
||||
"integrity": "sha512-YLK4rUB2AcJ/yCXruggrYHDWvZjdxT9gTb0BkBgZe+QptxPPIgImIQXQGh173o/9Dlz1v/6fHS51alwf4hwXGQ=="
|
||||
},
|
||||
"ipaddr.js": {
|
||||
"version": "1.4.0",
|
||||
@ -1866,15 +1875,6 @@
|
||||
"resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",
|
||||
"integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA="
|
||||
},
|
||||
"JSONStream": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz",
|
||||
"integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=",
|
||||
"requires": {
|
||||
"jsonparse": "1.3.1",
|
||||
"through": "2.3.8"
|
||||
}
|
||||
},
|
||||
"jsprim": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
|
||||
@ -3152,14 +3152,6 @@
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz",
|
||||
"integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4="
|
||||
},
|
||||
"string_decoder": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||
"requires": {
|
||||
"safe-buffer": "5.1.1"
|
||||
}
|
||||
},
|
||||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||
@ -3170,6 +3162,14 @@
|
||||
"strip-ansi": "3.0.1"
|
||||
}
|
||||
},
|
||||
"string_decoder": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||
"requires": {
|
||||
"safe-buffer": "5.1.1"
|
||||
}
|
||||
},
|
||||
"stringstream": {
|
||||
"version": "0.0.5",
|
||||
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bitcore",
|
||||
"version": "5.0.0-beta.15",
|
||||
"version": "5.0.0-beta.16",
|
||||
"description": "A platform to build bitcoin and blockchain-based applications.",
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
@ -37,9 +37,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"bitcore-lib": "5.0.0-beta.1",
|
||||
"bitcore-node": "5.0.0-beta.15",
|
||||
"insight-api": "5.0.0-beta.15",
|
||||
"insight-ui": "5.0.0-beta.15"
|
||||
"bitcore-node": "5.0.0-beta.16",
|
||||
"insight-api": "5.0.0-beta.16",
|
||||
"insight-ui": "5.0.0-beta.16"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
||||
224
scripts/tag-and-release.sh
Normal file
224
scripts/tag-and-release.sh
Normal file
@ -0,0 +1,224 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# given a string tag, make signed commits, push to relevant repos, create signed tags and publish to npm
|
||||
|
||||
bump_version () {
|
||||
sed -i '' -e "s/\"version\"\: .*$/\"version\"\: \"${shortTag}\",/g" package.json
|
||||
}
|
||||
|
||||
set_deps () {
|
||||
sed -i '' -e "s/\"bitcore-node\"\: .*$/\"bitcore-node\"\: \"${shortTag}\",/g" package.json
|
||||
sed -i '' -e "s/\"insight-api\"\: .*$/\"insight-api\"\: \"${shortTag}\",/g" package.json
|
||||
sed -i '' -e "s/\"insight-ui\"\: .*$/\"insight-ui\"\: \"${shortTag}\"/g" package.json
|
||||
}
|
||||
|
||||
tag="${1}"
|
||||
shortTag=`echo "${tag}" | cut -c 2-`
|
||||
|
||||
if [ -z "${tag}" ]; then
|
||||
echo ""
|
||||
echo "No tag given, exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Tagging with ${tag}..."
|
||||
|
||||
echo "Assuming projects at ${HOME}/source..."
|
||||
|
||||
#############################################
|
||||
# bitcore-node
|
||||
#############################################
|
||||
|
||||
#echo ""
|
||||
#echo "Starting with bitcore-node..."
|
||||
#sleep 2
|
||||
#pushd ~/source/zzbitcore_node
|
||||
|
||||
#bump_version
|
||||
#npm install
|
||||
#
|
||||
#git add .
|
||||
#git diff --staged
|
||||
#echo ""
|
||||
#echo -n 'Resume?: (Y/n): '
|
||||
#
|
||||
#read ans
|
||||
#
|
||||
#if [ "${ans}" == 'n' ]; then
|
||||
# echo "Exiting as requested."
|
||||
# exit 0
|
||||
#fi
|
||||
#
|
||||
#echo ""
|
||||
#echo "Committing changes for bitcore-node..."
|
||||
#sleep 2
|
||||
#git commit -S
|
||||
#
|
||||
#echo ""
|
||||
#echo "Pushing changes to Github..."
|
||||
#git push origin master && git push upstream master
|
||||
|
||||
#echo ""
|
||||
#echo "Signing a tag"
|
||||
#git tag -s "${tag}" -m"${tag}"
|
||||
#
|
||||
#
|
||||
#echo ""
|
||||
#echo "Pushing the tag to upstream..."
|
||||
#git push upstream "${tag}"
|
||||
#
|
||||
#echo ""
|
||||
#echo "Publishing to npm..."
|
||||
#npm publish --tag beta
|
||||
#
|
||||
#popd
|
||||
|
||||
#############################################
|
||||
# insight-api
|
||||
#############################################
|
||||
|
||||
#echo ""
|
||||
#echo "Releasing insight-api..."
|
||||
#sleep 2
|
||||
#pushd ~/source/insight-api
|
||||
#
|
||||
#bump_version
|
||||
#npm install
|
||||
#
|
||||
#git add .
|
||||
#git diff --staged
|
||||
#echo ""
|
||||
#echo -n 'Resume?: (Y/n): '
|
||||
#
|
||||
#read ans
|
||||
#
|
||||
#if [ "${ans}" == 'n' ]; then
|
||||
# echo "Exiting as requested."
|
||||
# exit 0
|
||||
#fi
|
||||
#
|
||||
#echo ""
|
||||
#echo "Committing changes for insight-api..."
|
||||
#sleep 2
|
||||
#git commit -S
|
||||
#
|
||||
#echo ""
|
||||
#echo "Pushing changes to Github..."
|
||||
#git push origin master && git push upstream master
|
||||
#
|
||||
#echo ""
|
||||
#echo "Signing a tag"
|
||||
#git tag -s "${tag}" -m"${tag}"
|
||||
#
|
||||
#
|
||||
#echo ""
|
||||
#echo "Pushing the tag to upstream..."
|
||||
#git push upstream "${tag}"
|
||||
#
|
||||
#echo ""
|
||||
#echo "Publishing to npm..."
|
||||
#npm publish --tag beta
|
||||
#
|
||||
#popd
|
||||
|
||||
#############################################
|
||||
# insight-ui
|
||||
#############################################
|
||||
|
||||
#echo ""
|
||||
#echo "Releasing insight-ui..."
|
||||
#sleep 2
|
||||
#pushd ~/source/insight-ui
|
||||
#
|
||||
#bump_version
|
||||
#npm install
|
||||
#
|
||||
#git add .
|
||||
#git diff --staged
|
||||
#echo ""
|
||||
#echo -n 'Resume?: (Y/n): '
|
||||
#
|
||||
#read ans
|
||||
#
|
||||
#if [ "${ans}" == 'n' ]; then
|
||||
# echo "Exiting as requested."
|
||||
# exit 0
|
||||
#fi
|
||||
#
|
||||
#echo ""
|
||||
#echo "Committing changes for insight-ui..."
|
||||
#sleep 2
|
||||
#git commit -S
|
||||
#
|
||||
#echo ""
|
||||
#echo "Pushing changes to Github..."
|
||||
#git push origin master && git push upstream master
|
||||
#
|
||||
#echo ""
|
||||
#echo "Signing a tag"
|
||||
#git tag -s "${tag}" -m"${tag}"
|
||||
#
|
||||
#
|
||||
#echo ""
|
||||
#echo "Pushing the tag to upstream..."
|
||||
#git push upstream "${tag}"
|
||||
#
|
||||
#echo ""
|
||||
#echo "Publishing to npm..."
|
||||
#npm publish --tag beta
|
||||
#
|
||||
#popd
|
||||
|
||||
#############################################
|
||||
# bitcore
|
||||
#############################################
|
||||
|
||||
echo ""
|
||||
echo "Releasing bitcore..."
|
||||
sleep 2
|
||||
pushd ~/source/bitcore
|
||||
|
||||
bump_version
|
||||
set_deps
|
||||
|
||||
npm install
|
||||
|
||||
git add .
|
||||
git diff --staged
|
||||
echo ""
|
||||
echo -n 'Resume?: (Y/n): '
|
||||
|
||||
read ans
|
||||
|
||||
if [ "${ans}" == 'n' ]; then
|
||||
echo "Exiting as requested."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Committing changes for bitcore..."
|
||||
sleep 2
|
||||
git commit -S
|
||||
|
||||
echo ""
|
||||
echo "Pushing changes to Github..."
|
||||
git push origin master && git push upstream master
|
||||
|
||||
echo ""
|
||||
echo "Signing a tag"
|
||||
git tag -s "${tag}" -m"${tag}"
|
||||
|
||||
|
||||
echo ""
|
||||
echo "Pushing the tag to upstream..."
|
||||
git push upstream "${tag}"
|
||||
|
||||
echo ""
|
||||
echo "Publishing to npm..."
|
||||
npm publish --tag beta
|
||||
|
||||
popd
|
||||
|
||||
echo "Completed releasing tag: ${tag}"
|
||||
Loading…
Reference in New Issue
Block a user