fix(release): preserve Windows preflight paths
This commit is contained in:
@@ -4,6 +4,12 @@ set -euo pipefail
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
# Keep POSIX-looking remote arguments opaque when this read-only check is run
|
||||
# from Git for Windows. On Linux the environment variable is harmless.
|
||||
ssh() {
|
||||
MSYS_NO_PATHCONV=1 command ssh "$@"
|
||||
}
|
||||
|
||||
fail() {
|
||||
echo "release-preflight: $*" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user