Skip to content

Commit cbc7422

Browse files
authored
Fix release flow (#373)
1 parent 500adfe commit cbc7422

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ jobs:
171171
- ./dist
172172
publish_release:
173173
executor: base
174-
environment:
175-
GITHUB_TOKEN: "${GITHUB_TOKEN}"
176174
steps:
177175
- attach_workspace:
178176
at: ./
@@ -185,13 +183,10 @@ jobs:
185183
sudo apt update
186184
sudo apt install gh
187185
- run:
188-
name: Create and upload release
186+
name: Upload binaries to Github release
189187
command: |
190-
gh release create "${CIRCLE_TAG}" ./dist/* \
191-
--repo "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}" \
192-
--title "${CIRCLE_TAG}" \
193-
--notes "Release ${CIRCLE_TAG}" \
194-
--verify-tag
188+
gh release upload "${CIRCLE_TAG}" ./dist/* \
189+
--repo "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}"
195190
publish_docker_images:
196191
executor: base
197192
environment:

0 commit comments

Comments
 (0)