We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f5a09 commit 9bc48ebCopy full SHA for 9bc48eb
.circleci/config.yml
@@ -282,6 +282,18 @@ jobs:
282
root: artifacts
283
paths:
284
- shuttle-version-x86_64-unknown-linux-musl.tar.gz
285
+ publish-github-release:
286
+ docker:
287
+ - image: cimg/go:1.19.3
288
+ steps:
289
+ - attach_workspace:
290
+ at: artifacts
291
+ - run:
292
+ name: "Publish Release on GitHub"
293
+ command: |
294
+ go install github.com/tcnksm/[email protected]
295
+ VERSION=version
296
+ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} -draft artifacts/
297
298
workflows:
299
version: 2
@@ -330,3 +342,6 @@ workflows:
330
342
# - build-binaries:
331
343
# requires:
332
344
# - build-and-push
345
+ - publish-github-release:
346
+ requires:
347
+ - build-binaries
0 commit comments