Skip to content

Commit ea55c7d

Browse files
committed
ci: fix circleci deploy
1 parent c36d400 commit ea55c7d

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.circleci/config.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,11 @@ jobs:
116116
steps:
117117
- attach_workspace:
118118
at: "."
119-
- run: export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"
120-
- run: ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
119+
- run:
120+
name: 'Deploy to Github Release'
121+
command: |
122+
export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"; \
123+
ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
121124
122125
deploy36:
123126
docker:
@@ -126,8 +129,11 @@ jobs:
126129
steps:
127130
- attach_workspace:
128131
at: "."
129-
- run: export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"
130-
- run: ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
132+
- run:
133+
name: 'Deploy to Github Release'
134+
command: |
135+
export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"; \
136+
ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
131137
132138
deploy37:
133139
docker:
@@ -136,8 +142,11 @@ jobs:
136142
steps:
137143
- attach_workspace:
138144
at: "."
139-
- run: export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"
140-
- run: ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
145+
- run:
146+
name: 'Deploy to Github Release'
147+
command: |
148+
export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"; \
149+
ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
141150
142151
nightly:
143152
machine: true

0 commit comments

Comments
 (0)