Use ci_vllm_version when recording vLLM commit (#1689)
### What this PR does / why we need it?
Use ci_vllm_version when recording vllm commit
Followup on https://github.com/vllm-project/vllm-ascend/pull/1623
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
- Test mannually.
$ python3 docs/source/conf.py | jq .ci_vllm_version | tr -d '"'
v0.9.2
- Test on my local repo: https://github.com/Yikun/vllm-ascend/pull/35
- vLLM version: v0.9.1
- vLLM main:
49e8c7ea25
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
This commit is contained in:
12
.github/format_pr_body.sh
vendored
12
.github/format_pr_body.sh
vendored
@@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
# Adapted from vllm/.github/scripts/cleanup_pr_body.sh
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
@@ -34,11 +34,15 @@ NEW=/tmp/new_pr_body.txt
|
||||
gh pr view --json body --template "{{.body}}" "${PR_NUMBER}" > "${OLD}"
|
||||
cp "${OLD}" "${NEW}"
|
||||
|
||||
# Remove "FIX #xxxx (*link existing issues this PR will resolve*)"
|
||||
# Remove notes in pr description and add vLLM version and commit
|
||||
sed -i '/<!--/,/-->/d' "${NEW}"
|
||||
sed -i '/- vLLM .*$/d' "${NEW}"
|
||||
echo "- vLLM version: $VLLM_VERSION" >> "${NEW}"
|
||||
echo "- vLLM main: $VLLM_COMMIT" >> "${NEW}"
|
||||
{
|
||||
echo ""
|
||||
echo "- vLLM version: $VLLM_VERSION"
|
||||
echo "- vLLM main: $VLLM_COMMIT"
|
||||
echo ""
|
||||
} >> "${NEW}"
|
||||
|
||||
# Run this only if ${NEW} is different than ${OLD}
|
||||
if ! cmp -s "${OLD}" "${NEW}"; then
|
||||
|
||||
Reference in New Issue
Block a user