Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Use newer cibuilds docker image in release CI job
Browse files Browse the repository at this point in the history
Version 0.10 of `cibuilds/github` does not support the `-n` flag of
`ghr`. Update it to newest version 0.13.

Additionally, do not use `delete` option, but rather `soft` option.
  • Loading branch information
GetPastTheMonkey committed Oct 22, 2019
1 parent a875c03 commit 62df2d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:

github-release:
docker:
- image: cibuilds/github:0.10
- image: cibuilds/github:0.13
steps:
- attach_workspace:
at: /releases
- run:
name: "Publish Release on GitHub"
command: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -n "Embedded-STS ${CIRCLE_TAG}" -delete ${CIRCLE_TAG} /releases/
command: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -n "Embedded-STS ${CIRCLE_TAG}" -soft ${CIRCLE_TAG} /releases/

workflows:
version: 2
Expand Down

0 comments on commit 62df2d0

Please sign in to comment.