Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 524938a

Browse files
committed
fix(release.sh): New MacOS sed is working as expected
1 parent 5ae5e52 commit 524938a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

release.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ PATTERN="$1"
5353
FILENAME="$2"
5454

5555
# Mac needs a space between sed's inplace flag and extension
56-
if [ "$(uname)" == "Darwin" ]; then
57-
sed -E -i '' "$PATTERN" "$FILENAME"
58-
else
56+
# if [ "$(uname)" == "Darwin" ]; then
57+
# sed -E -i '' "$PATTERN" "$FILENAME"
58+
# else
5959
sed -E -i "$PATTERN" "$FILENAME"
60-
fi
60+
# fi
6161
}
6262

6363
echo "Updating version number to $VERSION_CODE..."

0 commit comments

Comments
 (0)