Skip to content

Commit be0ca6c

Browse files
committed
Update grep command
1 parent 200f34c commit be0ca6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/artifact.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ TEST_BENCHES += \
3434
SHELL_HACK := $(shell mkdir -p $(BIN_DIR)/linux-x86-softfp $(BIN_DIR)/riscv32)
3535

3636
ifeq ($(call has, PREBUILT), 1)
37-
LATEST_RELEASE := $(shell wget -q https://api.github.com/repos/sysprog21/rv32emu-prebuilt/releases/latest -O- | grep -Po '(?<="tag_name": ").+(?=",)')
37+
LATEST_RELEASE := $(shell wget -q https://api.github.com/repos/sysprog21/rv32emu-prebuilt/releases/latest -O- | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
3838
else
3939
# Since rv32emu only supports the dynamic binary translation of integer instruction in tiered compilation currently,
4040
# we disable the hardware floating-point and the related SIMD operation of x86.

0 commit comments

Comments
 (0)