We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb7dc3a commit 650a7b4Copy full SHA for 650a7b4
.circleci/config.yml
@@ -70,10 +70,21 @@ jobs:
70
LC_ALL: C.UTF-8
71
steps:
72
- checkout
73
- - run: apk add --no-cache build-base linux-headers
74
- - run: mix local.hex --force
75
- - run: mix deps.get
76
- - run: mix hex.publish --yes
+ - run:
+ name: Install packages
+ command: |
+ apk add --no-cache build-base linux-headers github-cli
77
78
+ name: Publish GitHub release
79
80
+ sed -n "/^## $CIRCLE_TAG/,/^## /p" CHANGELOG.md | sed '1d; /^## /d' > RELEASE_NOTES
81
+ gh release create $CIRCLE_TAG --notes "$(cat RELEASE_NOTES)"
82
83
+ name: Publish to hex.pm
84
85
+ mix local.hex --force
86
+ mix deps.get
87
+ mix hex.publish --yes
88
89
workflows:
90
checks:
0 commit comments