File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ Run `synd-cli` to see all available commands. Main command categories:
108108- ` appchain handoff ` - Transfer contract ownership
109109- ` appchain arb-owner ` - Manage Arbitrum owner operations
110110- ` appchain check-token-bridge ` - Verify token bridge setup
111- - ` appchain e2e ` - Run end-to-end tests
111+ - ` appchain e2e ` - Run end-to-end tests for an appchain
112112- ` alias ` - Calculate L1->L2 aliased addresses
113113
114114Each command supports:
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ warn() {
2525}
2626
2727error () {
28- printf " ${RED} error${NC} : %s\n" " $1 "
28+ printf " ${RED} error${NC} : %s\n" " $1 " >&2
2929 exit 1
3030}
3131
@@ -52,11 +52,12 @@ detect_platform() {
5252get_latest_version () {
5353 local latest
5454 # Find the latest synd-cli release (tags starting with "synd-cli-")
55+ # The "|| true" prevents pipefail from exiting the script when no version is found
5556 latest=$( curl -fsSL " https://api.github.com/repos/${REPO} /releases" | \
5657 grep ' "tag_name"' | \
5758 sed -E ' s/.*"([^"]+)".*/\1/' | \
5859 grep ' ^synd-cli-' | \
59- head -n 1)
60+ head -n 1 || true )
6061
6162 if [[ -z " $latest " ]]; then
6263 error " Failed to fetch latest synd-cli version. Please check your internet connection or specify a version with SYND_VERSION=synd-cli-vX.Y.Z"
You can’t perform that action at this time.
0 commit comments