File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 7575 sed -i.bak "s/version = \"${CURRENT_VERSION}\"/version = \"${NIGHTLY_VERSION}\"/" bindings/python/pyproject.toml
7676
7777 # Verify the change
78- cat bindings/python/pyproject.toml | grep "^version"
78+ grep "^version" < bindings/python/pyproject.toml
7979 shell : bash
8080
8181 - name : Install twine and tomli
@@ -161,7 +161,7 @@ jobs:
161161 sed -i "s/version = \"${CURRENT_VERSION}\"/version = \"${NIGHTLY_VERSION}\"/" bindings/python/pyproject.toml
162162
163163 # Verify the change
164- cat bindings/python/pyproject.toml | grep "^version"
164+ grep "^version" < bindings/python/pyproject.toml
165165
166166 - name : Build SDist
167167 uses : PyO3/maturin-action@v1
Original file line number Diff line number Diff line change 3838
3939 - name : Build and Push
4040 run : |
41- version=$(cat python/sglang/version.py | cut -d'"' -f2)
41+ version=$(cut -d'"' -f2 < python/sglang/version.py )
4242 echo "Version: ${version}"
4343
4444 if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
8585 run : |
8686 set -euxo pipefail
8787
88- version=$(cat python/sglang/version.py | cut -d'"' -f2)
88+ version=$(cut -d'"' -f2 < python/sglang/version.py )
8989 echo "Version: ${version}"
9090
9191 if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
Original file line number Diff line number Diff line change 2828
2929 - name : Build and Push
3030 run : |
31- version=$(cat python/sglang/version.py | cut -d'"' -f2)
31+ version=$(cut -d'"' -f2 < python/sglang/version.py )
3232 echo "Version: ${version}"
3333
3434 if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
Original file line number Diff line number Diff line change 4747
4848 - name : Build and Push AMD64
4949 run : |
50- version=$(cat python/sglang/version.py | cut -d'"' -f2)
50+ version=$(cut -d'"' -f2 < python/sglang/version.py )
5151 tag=v${version}-cu129-amd64
5252
5353 docker buildx build \
8989
9090 - name : Build and Push ARM64
9191 run : |
92- version=$(cat python/sglang/version.py | cut -d'"' -f2)
92+ version=$(cut -d'"' -f2 < python/sglang/version.py )
9393 tag=v${version}-cu129-arm64
9494
9595 docker buildx build \
Original file line number Diff line number Diff line change 7575 id : set_tag_name
7676 run : |
7777 if [ -z "${{ inputs.tag_name }}" ]; then
78- TAG_NAME="v$(cat sgl-kernel/python/sgl_kernel/version.py | cut -d'"' -f2 )"
78+ TAG_NAME="v$(cut -d'"' -f2 < sgl-kernel/python/sgl_kernel/version.py)"
7979 echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
8080 else
8181 echo "tag_name=${{ inputs.tag_name }}" >> "$GITHUB_OUTPUT"
@@ -160,7 +160,7 @@ jobs:
160160 id : set_tag_name
161161 run : |
162162 if [ -z "${{ inputs.tag_name }}" ]; then
163- TAG_NAME="v$(cat sgl-kernel/python/sgl_kernel/version.py | cut -d'"' -f2 )"
163+ TAG_NAME="v$(cut -d'"' -f2 < sgl-kernel/python/sgl_kernel/version.py)"
164164 echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
165165 else
166166 echo "tag_name=${{ inputs.tag_name }}" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments