Skip to content

Commit 6ea0c9d

Browse files
committed
Add GitHub Release creation to GitHub Actions deployment workflow
1 parent 569d5dd commit 6ea0c9d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/continuous-deployment-workflow.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,21 @@ jobs:
6464
- name: Run lein release
6565
run: |
6666
CLOJARS_USERNAME=${{ secrets.CLOJARS_USERNAME }} CLOJARS_TOKEN=${{ secrets.CLOJARS_TOKEN }} GITHUB_USERNAME=${{ github.actor }} GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} lein release
67+
# This creates a 'GitHub Release' from the tag and includes link to the CHANGELOG
68+
# at that point in the Git history. We do not use draft or prerelease features as
69+
# we always want the latest release to show in the right hand column of the project
70+
# page regardless of if it is a stable release.
71+
- name: Create GitHub Release
72+
uses: actions/create-release@v1
73+
env:
74+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75+
with:
76+
tag_name: ${{ github.ref }}
77+
release_name: ${{ github.ref }}
78+
body: |
79+
[Changelog](https://github.com/day8/re-frame-http-fx/blob/${{ github.ref }}/CHANGELOG.md)
80+
draft: false
81+
prerelease: false
6782
- name: Slack notification
6883
uses: homoluctus/slatify@v2.0.1
6984
if: always()

0 commit comments

Comments
 (0)