File tree Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Original file line number Diff line number Diff line change 19
19
20
20
Here are the software versions we use:
21
21
22
- - IoTeX MainNet: v1.10.1
22
+ - MainNet: v1.10.1
23
23
24
24
## <a name =" testnet " />Join TestNet
25
25
To start and run a testnet node, please click [ ** Join Testnet** ] ( https://github.com/iotexproject/iotex-bootstrap/blob/master/README_testnet.md )
@@ -274,11 +274,6 @@ sudo bash # If your docker requires root privilege
274
274
bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway
275
275
```
276
276
277
- Currently, auto upgrade is turned on by default. To disable this feature, enter ` N ` when asked following question:
278
- ``` bash
279
- Do you want to auto update the node [Y/N] (Default: Y)? N
280
- ```
281
-
282
277
To stop auto upgdrade cron job and iotex server program, you can run
283
278
``` bash
284
279
sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change @@ -250,11 +250,6 @@ sudo bash # If your docker requires root privilege
250
250
bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway
251
251
```
252
252
253
- 目前,节点自动升级默认开启。如果需要禁用此功能,请在系统询问以下问题时输入“N”:
254
- ``` bash
255
- Do you want to auto update the node [Y/N] (Default: Y)? N
256
- ```
257
-
258
253
如果需要停止自动升级 cron job 和 iotex 服务器程序,您可以运行以下指令:
259
254
``` bash
260
255
sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change @@ -248,11 +248,6 @@ sudo bash # If your docker requires root privilege
248
248
bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) testnet plugin=gateway
249
249
```
250
250
251
- 目前,节点自动升级默认开启。如果需要禁用此功能,请在系统询问以下问题时输入“N”:
252
- ``` bash
253
- Do you want to auto update the node [Y/N] (Default: Y)? N
254
- ```
255
-
256
251
如果需要停止自动升级 cron job 和 iotex 服务器程序,您可以运行以下指令:
257
252
``` bash
258
253
sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change 18
18
19
19
Here are the software versions we use:
20
20
21
- - IoTeX TestNet: v1.11.0-rc3
21
+ - TestNet: v1.11.0-rc3
22
22
23
23
** Note**
24
24
To start and run a mainnet node, please click [ ** Join Mainnet** ] ( https://github.com/iotexproject/iotex-bootstrap/blob/master/README.md )
@@ -272,11 +272,6 @@ sudo bash # If your docker requires root privilege
272
272
bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) testnet plugin=gateway
273
273
```
274
274
275
- Currently, auto upgrade is turned on by default. To disable this feature, enter ` N ` when asked following question:
276
- ``` bash
277
- Do you want to auto update the node [Y/N] (Default: Y)? N
278
- ```
279
-
280
275
To stop auto upgdrade cron job and iotex server program, you can run
281
276
``` bash
282
277
sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change @@ -396,6 +396,10 @@ function main() {
396
396
397
397
# Get the latest version.
398
398
lastversion=$( curl -sS https://api.github.com/repos/iotexproject/iotex-core/releases/latest| grep -oP ' (?<="tag_name": ")[^"]*' )
399
+ if [ " $_GREP_STRING_ " = " TestNet" ]; then
400
+ lastversion=$( curl -sS https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/README_testnet.md| grep " ^- $_GREP_STRING_ :" | awk ' {print $3}' )
401
+ fi
402
+
399
403
echo -e " Current operating environment: ${YELLOW} $env ${NC} "
400
404
read -p " Install or Upgrade Version; if null the latest [$lastversion ]: " ver
401
405
version=${ver:- " $lastversion " } # if $ver ;then version=$ver;else version=$lastversion"
You can’t perform that action at this time.
0 commit comments