initial commit
This commit is contained in:
parent
cbc2b80023
commit
2714082270
@ -5,7 +5,7 @@ POOL="devnoso"
|
|||||||
#POOL="leviable"
|
#POOL="leviable"
|
||||||
#POOL="russiapool"
|
#POOL="russiapool"
|
||||||
#POOL="CryptoCribRO"
|
#POOL="CryptoCribRO"
|
||||||
WALLET="N3uKzdTeP4iV4ekhbkd2GW3izVPCREb"
|
WALLET=""
|
||||||
CPU=4
|
CPU=4
|
||||||
|
|
||||||
for wallet in ${WALLET:?Variable not set or is empty}; do
|
for wallet in ${WALLET:?Variable not set or is empty}; do
|
||||||
|
54
script.sh
54
script.sh
@ -6,46 +6,22 @@
|
|||||||
|
|
||||||
## ./script "WALLET_ID"
|
## ./script "WALLET_ID"
|
||||||
|
|
||||||
# e="rjs.ricardosilva@gmail.com"
|
amd64_script="https://git.sthope.dev/sthope/DockerContainer-Noso/raw/branch/master/files/amd64/noso-go"
|
||||||
# u="sthope"
|
amd64_nano="https://git.sthope.dev/sthope/DockerContainer-Noso/raw/branch/master/files/amd64/noso-go.sh"
|
||||||
#t="5f9e24c6d98571d67711d11e30552109cb5a327a"
|
|
||||||
# t="f8f43ba9798096a20ee90f9a11b619898e0cd190"
|
|
||||||
w="$1"
|
|
||||||
|
|
||||||
### Semantic Version
|
WALLET="$1"
|
||||||
# build='build():';
|
|
||||||
# feat='feat():';
|
|
||||||
# fix='fix():';
|
|
||||||
# perf='perf():';
|
|
||||||
# ci='ci():';
|
|
||||||
# docs='docs():';
|
|
||||||
# refactor='refactor():';
|
|
||||||
# style='style():';
|
|
||||||
# test='test():';
|
|
||||||
|
|
||||||
# commit_msg_file="commit"
|
# NOSO_DIR="~/noso/"
|
||||||
|
NOSO_DIR="noso"
|
||||||
|
|
||||||
# if [[ -f "$commit_msg_file" ]]; then
|
clear
|
||||||
# if grep -q "*build" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*build/$build/" $commit_msg_file
|
|
||||||
# elif grep -q "*feat" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*feat/$feat/" $commit_msg_file
|
|
||||||
# elif grep -q "*fix" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*fix/$fix/" $commit_msg_file
|
|
||||||
# elif grep -q "*perf" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*perf/$perf/" $commit_msg_file
|
|
||||||
# elif grep -q "*ci" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*ci/$ci/" $commit_msg_file
|
|
||||||
# elif grep -q "*docs" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*docs/$docs/" $commit_msg_file
|
|
||||||
# elif grep -q "*refactor" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*refactor/$refactor/" $commit_msg_file
|
|
||||||
# elif grep -q "*style" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*style/$style/" $commit_msg_file
|
|
||||||
# elif grep -q "*test" "$commit_msg_file"; then
|
|
||||||
# sed -i "s/*test/$test/" $commit_msg_file
|
|
||||||
# else echo "else"
|
|
||||||
# fi
|
|
||||||
# fi
|
|
||||||
|
|
||||||
clear;echo "$w"
|
mkdir -p $NOSO_DIR
|
||||||
|
|
||||||
|
cd $NOSO_DIR
|
||||||
|
|
||||||
|
wget -q "$amd64_script"
|
||||||
|
wget -q "$amd64_nano"
|
||||||
|
|
||||||
|
chmod a+x noso-go*
|
||||||
|
ls -l
|
Loading…
x
Reference in New Issue
Block a user