Skip to content

Commit b2b2a77

Browse files
committed
fix replace bug
1 parent 7f9e1bc commit b2b2a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/onestep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function replace_tag()
9494
# PRE_COMPILE_TAG_IOS not found, check PRE_COMPILE_TAG
9595
if grep -q "PRE_COMPILE_TAG" "$file"; then
9696
# insert PRE_COMPILE_TAG_IOS=new_tag after PRE_COMPILE_TAG
97-
sed -i "" "/PRE_COMPILE_TAG/a\\
97+
sed -i "" "/PRE_COMPILE_TAG=/a\\
9898
export $key=$TAG
9999
" "$file"
100100
else

0 commit comments

Comments
 (0)