Compare commits
5 Commits
v5.0.0-bet
...
master
Author | SHA1 | Date |
---|---|---|
Jon Layton | 236b4579a6 | |
Jon Layton | cc9194f88a | |
Chris Kleeschulte | 95dc8b2910 | |
Chris Kleeschulte | 10257f7195 | |
Chris Kleeschulte | 6a7b65ce19 |
|
@ -8,5 +8,5 @@ ENV HOME /home/bitcore
|
|||
USER bitcore
|
||||
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
|
||||
RUN /bin/bash -l -c "nvm install v4 && nvm alias default v4"
|
||||
RUN /bin/bash -l -c "npm install bitcore -g"
|
||||
RUN /bin/bash -l -c "npm install BTCPrivate/bitcore -g"
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bitcore",
|
||||
"version": "5.0.0-beta.41",
|
||||
"version": "5.0.0-beta.44",
|
||||
"description": "A platform to build bitcoin and blockchain-based applications.",
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
|
@ -33,13 +33,13 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bitpay/bitcore.git"
|
||||
"url": "https://github.com/BTCPrivate/bitcore.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"bitcore-lib": "5.0.0-beta.1",
|
||||
"bitcore-node": "5.0.0-beta.41",
|
||||
"insight-api": "5.0.0-beta.41",
|
||||
"insight-ui": "bitpay/insight#v5.0.0-beta.41"
|
||||
"bitcore-lib": "ch4ot1c/bitcore-lib",
|
||||
"bitcore-node": "ch4ot1c/bitcore-node",
|
||||
"insight-api": "ch4ot1c/insight-api",
|
||||
"insight-ui": "ch4ot1c/insight"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
|
|
@ -41,7 +41,7 @@ function deploy () {
|
|||
execCmd
|
||||
|
||||
# run npm install -g bitcore@beta
|
||||
cmd="sudo su - bitcore -c 'npm install -g bitcore@beta'"
|
||||
cmd="sudo su - bitcore -c 'npm install -g BTCPrivate/bitcore'"
|
||||
execCmd
|
||||
|
||||
# start server
|
||||
|
|
|
@ -13,13 +13,13 @@ bitcoreNodeDir="${HOME}/source/bitcore-node"
|
|||
# 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
|
||||
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\"\: \"bitpay\/insight\#${tag}\"/g" package.json
|
||||
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\"\: \"bitpay\/insight\#${tag}\"/g" package.json
|
||||
}
|
||||
|
||||
tag="${1}"
|
||||
|
|
Loading…
Reference in New Issue