File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if [[ -z "$CURRENT_VERSION" || "$CURRENT_VERSION" == "null" ]]; then
1818fi
1919
2020# Parse semver components
21- IFS=' .' read -r MAJOR MINOR_V PATCH <<< " $CURRENT_VERSION"
21+ IFS=' .' read -r MAJOR MINOR_V PATCH <<< " $CURRENT_VERSION"
2222
2323# Calculate new version
2424if [[ " $MINOR " == " true" ]]; then
3030echo " Bumping version: $CURRENT_VERSION -> $NEW_VERSION "
3131
3232# Update package.json
33- jq --arg v " $NEW_VERSION " ' .version = $v' package.json > package.json.tmp
33+ jq --arg v " $NEW_VERSION " ' .version = $v' package.json > package.json.tmp
3434mv package.json.tmp package.json
3535
3636# Commit and tag
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export const GIT_FETCH_SCRIPT = `
9292export GIT_TERMINAL_PROMPT=0
9393export GIT_ASKPASS=echo
9494export SSH_ASKPASS=echo
95- export GIT_SSH_COMMAND="ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new"
95+ export GIT_SSH_COMMAND="\${GIT_SSH_COMMAND:- ssh} -o BatchMode=yes -o StrictHostKeyChecking=accept-new"
9696
9797# Fast fetch with optimization flags
9898git -c protocol.version=2 \\
You can’t perform that action at this time.
0 commit comments