diff --git a/scripts/check-version-against-prod.sh b/scripts/check-version-against-prod.sh index c1d4fab..1a90a39 100644 --- a/scripts/check-version-against-prod.sh +++ b/scripts/check-version-against-prod.sh @@ -30,6 +30,6 @@ REMOTE_VERSION=$(ssh -i ~/.ssh/id_ed25519 -p "$PROD_PORT" -o BatchMode=yes -o St echo "Remote production version: $REMOTE_VERSION" # Compare versions using a small Node helper (semantic-ish: numeric dot-separated) -NODE_COMPARE="const a=process.env.LOCAL||'0.0.0'; const b=process.env.REMOTE||'0.0.0'; function cmp(x,y){const px=x.split('.').map(n=>parseInt(n||0,10)); const py=y.split('.').map(n=>parseInt(n||0,10)); const len=Math.max(px.length,py.length); for(let i=0;iB) return 1; if(A