Skip to content

Commit 5db8afd

Browse files
committed
ci: fix circleci deploy
1 parent bd712a5 commit 5db8afd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.circleci/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ jobs:
116116
steps:
117117
- attach_workspace:
118118
at: "."
119-
- run: ghr -u "${CIRCLE_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}"" "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
119+
- run: export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"
120+
- run: ghr -u "${CIRCLE_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
120121

121122
deploy36:
122123
docker:
@@ -125,7 +126,8 @@ jobs:
125126
steps:
126127
- attach_workspace:
127128
at: "."
128-
- run: ghr -u "${CIRCLE_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}"" "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
129+
- run: export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"
130+
- run: ghr -u "${CIRCLE_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
129131

130132
deploy37:
131133
docker:
@@ -134,7 +136,8 @@ jobs:
134136
steps:
135137
- attach_workspace:
136138
at: "."
137-
- run: ghr -u "${CIRCLE_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}"" "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
139+
- run: export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"
140+
- run: ghr -u "${CIRCLE_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so
138141

139142
nightly:
140143
machine: true

0 commit comments

Comments
 (0)