|
4 | 4 | # bash install.sh # default: reset data, build if needed, init+start, wait for sync |
5 | 5 | # bash install.sh --no-reset --no-start # install only |
6 | 6 | # bash install.sh --use-local # use current repo checkout to build |
7 | | -# PNM_REF=feature/pnm bash install.sh # clone specific ref (branch/tag) |
| 7 | +# PNM_REF=v1.0.0 bash install.sh # clone specific ref (branch/tag) |
8 | 8 |
|
9 | 9 | set -euo pipefail |
10 | 10 | IFS=$'\n\t' |
@@ -420,7 +420,7 @@ CHAIN_ID="${CHAIN_ID:-push_42101-1}" |
420 | 420 | SNAPSHOT_RPC="${SNAPSHOT_RPC:-https://rpc-testnet-donut-node2.push.org}" |
421 | 421 | RESET_DATA="${RESET_DATA:-yes}" |
422 | 422 | AUTO_START="${AUTO_START:-yes}" |
423 | | -PNM_REF="${PNM_REF:-feature/pnm}" |
| 423 | +PNM_REF="${PNM_REF:-main}" |
424 | 424 | BIN_DIR="${BIN_DIR:-$HOME/.local/bin}" |
425 | 425 | PREFIX="${PREFIX:-}" |
426 | 426 |
|
@@ -481,7 +481,7 @@ while [[ $# -gt 0 ]]; do |
481 | 481 | echo "Environment Variables:" |
482 | 482 | echo " NO_COLOR Set to disable colors" |
483 | 483 | echo " VERBOSE Set to 'yes' for verbose output" |
484 | | - echo " PNM_REF Git ref for push-validator-manager (default: feature/pnm)" |
| 484 | + echo " PNM_REF Git ref for push-validator-manager (default: main)" |
485 | 485 | echo " PCHAIND_REF Git ref for pchaind binary" |
486 | 486 | echo |
487 | 487 | echo "Examples:" |
@@ -793,7 +793,7 @@ if [[ ! -d "$REPO_DIR/push-validator-manager" ]]; then |
793 | 793 | if [[ -n "$LOCAL_CANDIDATE" && -d "$LOCAL_CANDIDATE/push-validator-manager" ]]; then |
794 | 794 | warn "Try: bash push-validator-manager/install.sh --use-local" |
795 | 795 | fi |
796 | | - warn "Or specify a branch/tag that contains it: PNM_REF=feature/pnm bash push-validator-manager/install.sh" |
| 796 | + warn "Or specify a branch/tag that contains it: PNM_REF=main bash push-validator-manager/install.sh" |
797 | 797 | exit 1 |
798 | 798 | fi |
799 | 799 |
|
|
0 commit comments