Skip to content

Commit 5ee2756

Browse files
committed
fix the new line for sed
1 parent ae51cdd commit 5ee2756

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/packaging/pre_build_nightly.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ cd -
6868
# 6. Set nightly version in __init__.py
6969
echo "Setting nightly version..."
7070
NIGHTLY_VERSION="${BUILD_VERSION:-$(date +%Y.%m.%d)}"
71-
sed -i "s/__version__ = \".*\"/__version__ = \"${NIGHTLY_VERSION}\"/"
72-
"$FORGE_ROOT/src/forge/__init__.py"
71+
sed -i "s/__version__ = \".*\"/__version__ = \"${NIGHTLY_VERSION}\"/" "$FORGE_ROOT/src/forge/__init__.py"
7372

7473
echo "Nightly dependency installation complete!"
7574
echo "Installed package versions:"

0 commit comments

Comments
 (0)