Bumped version.

This commit is contained in:
Chris Kleeschulte 2017-10-12 18:02:56 -04:00
parent f908ad99eb
commit 2eb0a6fbc2
No known key found for this signature in database
GPG Key ID: 33195D27EF6BDB7F
3 changed files with 170 additions and 155 deletions

20
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "bitcore", "name": "bitcore",
"version": "5.0.0-beta.19", "version": "5.0.0-beta.20",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -465,9 +465,9 @@
} }
}, },
"bitcore-node": { "bitcore-node": {
"version": "5.0.0-beta.19", "version": "5.0.0-beta.20",
"resolved": "https://registry.npmjs.org/bitcore-node/-/bitcore-node-5.0.0-beta.19.tgz", "resolved": "https://registry.npmjs.org/bitcore-node/-/bitcore-node-5.0.0-beta.20.tgz",
"integrity": "sha512-qjePgIvSwgTEcrBGBFJwpLCSAMx3wnf+sS1Twbvq9z9C0qEgXjfo3Om2fxmweH+PCdTT/38WJTxpnSUuVQ4zxg==", "integrity": "sha512-L72G2y06AHkR+iM4bEEOurHhBsfw7tRJaPHvv1yfU7WiZaBJNuwKOvprdElM6bir/rx6DUlWe+A/AtXV6K3giw==",
"requires": { "requires": {
"async": "2.5.0", "async": "2.5.0",
"bcoin": "github:bitpay/bcoin#46ecd2c4ed3b7fbcadd9cfe10b0f5d64e4c5088d", "bcoin": "github:bitpay/bcoin#46ecd2c4ed3b7fbcadd9cfe10b0f5d64e4c5088d",
@ -1621,9 +1621,9 @@
"integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=" "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4="
}, },
"insight-api": { "insight-api": {
"version": "5.0.0-beta.19", "version": "5.0.0-beta.20",
"resolved": "https://registry.npmjs.org/insight-api/-/insight-api-5.0.0-beta.19.tgz", "resolved": "https://registry.npmjs.org/insight-api/-/insight-api-5.0.0-beta.20.tgz",
"integrity": "sha512-05oymTKCo9cwAFtXtVWOg9DisUIwwWAsRGTF2zklgNTmoLzaNay2NFExf3GmkFdFmF6xeu50TksIRJ/HKI8cEw==", "integrity": "sha512-SNWAbSQD/uEiDsHIbzUACdT4giIMo1tgjxPVgzIrigge5bYb70R6ScA2AxB75TBkq020tKMrHx2ZzMN4t2WGSg==",
"requires": { "requires": {
"JSONStream": "1.3.1", "JSONStream": "1.3.1",
"async": "2.5.0", "async": "2.5.0",
@ -1646,9 +1646,9 @@
} }
}, },
"insight-ui": { "insight-ui": {
"version": "5.0.0-beta.19", "version": "5.0.0-beta.20",
"resolved": "https://registry.npmjs.org/insight-ui/-/insight-ui-5.0.0-beta.19.tgz", "resolved": "https://registry.npmjs.org/insight-ui/-/insight-ui-5.0.0-beta.20.tgz",
"integrity": "sha512-UBtvLdVJXpd5ewTLZBUBIRt9DElAYqppvb2SACkVI69+z1wm/uv1do484s0O1h75PfEn1lOOHhdHw+vA4nPG5Q==" "integrity": "sha512-3YVnoPaBMY+FtPNXd5YAx52PZ02ParH1jwpPg7mRPwtYe4BO5OXMp8EOvLRBg5Y4AqOlRosshmZbbG8Uriup4g=="
}, },
"ipaddr.js": { "ipaddr.js": {
"version": "1.4.0", "version": "1.4.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "bitcore", "name": "bitcore",
"version": "5.0.0-beta.19", "version": "5.0.0-beta.20",
"description": "A platform to build bitcoin and blockchain-based applications.", "description": "A platform to build bitcoin and blockchain-based applications.",
"engines": { "engines": {
"node": ">=8.0.0" "node": ">=8.0.0"
@ -37,9 +37,9 @@
}, },
"dependencies": { "dependencies": {
"bitcore-lib": "5.0.0-beta.1", "bitcore-lib": "5.0.0-beta.1",
"bitcore-node": "5.0.0-beta.19", "bitcore-node": "5.0.0-beta.20",
"insight-api": "5.0.0-beta.19", "insight-api": "5.0.0-beta.20",
"insight-ui": "5.0.0-beta.19" "insight-ui": "5.0.0-beta.20"
}, },
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {

View File

@ -31,203 +31,218 @@ if [ -z "${tag}" ]; then
exit 1 exit 1
fi fi
echo ""
echo "Tagging with ${tag}..."
echo "Assuming projects at ${HOME}/source..."
############################################# #############################################
# bitcore-node # bitcore-node
############################################# #############################################
function bitcoreNode() {
echo ""
echo "Starting with bitcore-node..."
sleep 2
pushd "${bitcoreNodeDir}"
echo "" bump_version
echo "Starting with bitcore-node..." npm install
sleep 2
pushd "${bitcoreNodeDir}"
bump_version git add .
npm install git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
git add . read ans
git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
read ans if [ "${ans}" == 'n' ]; then
echo "Exiting as requested."
exit 0
fi
if [ "${ans}" == 'n' ]; then echo ""
echo "Exiting as requested." echo "Committing changes for bitcore-node..."
exit 0 sleep 2
fi git commit -S
echo "" echo ""
echo "Committing changes for bitcore-node..." echo "Pushing changes to Github..."
sleep 2 git push origin master && git push upstream master
git commit -S
echo "" echo ""
echo "Pushing changes to Github..." echo "Signing a tag"
git push origin master && git push upstream master git tag -s "${tag}" -m"${tag}"
echo ""
echo "Signing a tag"
git tag -s "${tag}" -m"${tag}"
echo "" echo ""
echo "Pushing the tag to upstream..." echo "Pushing the tag to upstream..."
git push upstream "${tag}" git push upstream "${tag}"
echo "" echo ""
echo "Publishing to npm..." echo "Publishing to npm..."
npm publish --tag beta npm publish --tag beta
popd popd
}
############################################# #############################################
# insight-api # insight-api
############################################# #############################################
function insightApi() {
echo ""
echo "Releasing insight-api..."
sleep 2
pushd "${insightApiDir}"
echo "" bump_version
echo "Releasing insight-api..." npm install
sleep 2
pushd "${insightApiDir}"
bump_version git add .
npm install git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
git add . read ans
git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
read ans if [ "${ans}" == 'n' ]; then
echo "Exiting as requested."
exit 0
fi
if [ "${ans}" == 'n' ]; then echo ""
echo "Exiting as requested." echo "Committing changes for insight-api..."
exit 0 sleep 2
fi git commit -S
echo "" echo ""
echo "Committing changes for insight-api..." echo "Pushing changes to Github..."
sleep 2 git push origin master && git push upstream master
git commit -S
echo "" echo ""
echo "Pushing changes to Github..." echo "Signing a tag"
git push origin master && git push upstream master git tag -s "${tag}" -m"${tag}"
echo ""
echo "Signing a tag"
git tag -s "${tag}" -m"${tag}"
echo "" echo ""
echo "Pushing the tag to upstream..." echo "Pushing the tag to upstream..."
git push upstream "${tag}" git push upstream "${tag}"
echo "" echo ""
echo "Publishing to npm..." echo "Publishing to npm..."
npm publish --tag beta npm publish --tag beta
popd popd
}
############################################# #############################################
# insight-ui # insight-ui
############################################# #############################################
function insightUi() {
echo ""
echo "Releasing insight-ui..."
sleep 2
pushd "${insightUIDir}"
echo "" bump_version
echo "Releasing insight-ui..." npm install
sleep 2
pushd "${insightUIDir}"
bump_version git add .
npm install git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
git add . read ans
git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
read ans if [ "${ans}" == 'n' ]; then
echo "Exiting as requested."
exit 0
fi
if [ "${ans}" == 'n' ]; then echo ""
echo "Exiting as requested." echo "Committing changes for insight-ui..."
exit 0 sleep 2
fi git commit -S
echo "" echo ""
echo "Committing changes for insight-ui..." echo "Pushing changes to Github..."
sleep 2 git push origin master && git push upstream master
git commit -S
echo "" echo ""
echo "Pushing changes to Github..." echo "Signing a tag"
git push origin master && git push upstream master git tag -s "${tag}" -m"${tag}"
echo ""
echo "Signing a tag"
git tag -s "${tag}" -m"${tag}"
echo "" echo ""
echo "Pushing the tag to upstream..." echo "Pushing the tag to upstream..."
git push upstream "${tag}" git push upstream "${tag}"
echo "" echo ""
echo "Publishing to npm..." echo "Publishing to npm..."
npm publish --tag beta npm publish --tag beta
popd popd
}
############################################# #############################################
# bitcore # bitcore
############################################# #############################################
function bitcore() {
echo ""
echo "Releasing bitcore..."
sleep 2
pushd "${bitcoreDir}"
echo "" bump_version
echo "Releasing bitcore..." set_deps
sleep 2
pushd "${bitcoreDir}"
bump_version npm install
set_deps
npm install git add .
git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
git add . read ans
git diff --staged
echo ""
echo -n 'Resume?: (Y/n): '
read ans if [ "${ans}" == 'n' ]; then
echo "Exiting as requested."
exit 0
fi
if [ "${ans}" == 'n' ]; then echo ""
echo "Exiting as requested." echo "Committing changes for bitcore..."
exit 0 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}"
}
reloases="${2}"
if [ -z "${releases}" ]; then
bitcoreNode
insightApi
insightUi
bitcore
else
eval "${releases}"
fi fi
echo "" echo ""
echo "Committing changes for bitcore..." echo "Tagging with ${tag}..."
sleep 2
git commit -S
echo "" echo "Assuming projects at ${HOME}/source..."
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}"