Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/bump_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [[ -z "$CURRENT_VERSION" || "$CURRENT_VERSION" == "null" ]]; then
fi

# Parse semver components
IFS='.' read -r MAJOR MINOR_V PATCH <<< "$CURRENT_VERSION"
IFS='.' read -r MAJOR MINOR_V PATCH <<<"$CURRENT_VERSION"

# Calculate new version
if [[ "$MINOR" == "true" ]]; then
Expand All @@ -30,7 +30,7 @@ fi
echo "Bumping version: $CURRENT_VERSION -> $NEW_VERSION"

# Update package.json
jq --arg v "$NEW_VERSION" '.version = $v' package.json > package.json.tmp
jq --arg v "$NEW_VERSION" '.version = $v' package.json >package.json.tmp
mv package.json.tmp package.json

# Commit and tag
Expand Down
2 changes: 1 addition & 1 deletion src/common/utils/git/gitStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const GIT_FETCH_SCRIPT = `
export GIT_TERMINAL_PROMPT=0
export GIT_ASKPASS=echo
export SSH_ASKPASS=echo
export GIT_SSH_COMMAND="ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new"
export GIT_SSH_COMMAND="\${GIT_SSH_COMMAND:-ssh} -o BatchMode=yes -o StrictHostKeyChecking=accept-new"

# Fast fetch with optimization flags
git -c protocol.version=2 \\
Expand Down