Skip to content

Commit 66be4b0

Browse files
committed
build: circleci github release fix
1 parent 4cfcbb2 commit 66be4b0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
- run:
4646
name: Upload binary
4747
command: |
48-
$CIRCLE_TAG && ghr $CIRCLE_TAG build/lib/py_sourcemap/*.so
48+
if [ "$CIRCLE_TAG" != "" ]; then \
49+
ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
50+
fi
4951
- run:
5052
name: Prune the output files
5153
command: |
@@ -77,7 +79,9 @@ jobs:
7779
- run:
7880
name: Upload binary
7981
command: |
80-
$CIRCLE_TAG && ghr $CIRCLE_TAG build/lib/py_sourcemap/*.so
82+
if [ "$CIRCLE_TAG" != "" ]; then \
83+
ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
84+
fi
8185
- run:
8286
name: Prune the output files
8387
command: |
@@ -110,7 +114,7 @@ jobs:
110114
name: Upload binary
111115
command: |
112116
if [ "$CIRCLE_TAG" != "" ]; then \
113-
ghr $CIRCLE_TAG build/lib/py_sourcemap/*.so
117+
ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
114118
fi
115119
- run:
116120
name: Prune the output files

0 commit comments

Comments
 (0)