Skip to content

Commit abef81c

Browse files
committed
fix: autofill base again again again again again again again again again again
1 parent 10c9cba commit abef81c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ jobs:
1717
- name: Inject Base Url
1818
run: |
1919
BRANCH=$(echo ${GITHUB_REF} | sed -e 's/refs\/heads\///')
20-
BRANCH_NAME=$(echo $BRANCH | sed 's|origin/||')
21-
if [[ $BRANCH_NAME == build/ver/* ]]; then
22-
VER=$(echo $BRANCH_NAME | sed 's|build/ver/||')
20+
if [[ $BRANCH == ver/* ]]; then
21+
VER=$(echo $BRANCH | sed 's|build/ver/||')
2322
echo ${VER} > VER
2423
fi
2524

0 commit comments

Comments
 (0)