Skip to content

Commit

Permalink
Release workflow now creates a GitHub release
Browse files Browse the repository at this point in the history
  • Loading branch information
lread committed Mar 11, 2021
1 parent 250291d commit 5a4cd4a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,26 @@ jobs:
- name: Download Clojure Dependencies
run: clojure -Spath

- name: Release Prep (step 1 of 3)
- name: Release Prep (step 1 of 4)
run: bb ./script/release.clj prep

- name: Release Deploy (step 2 of 3)
- name: Release Deploy (step 2 of 4)
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
run: bb ./script/release.clj deploy-remote

- name: Release Commit (step 3 of 3)
- name: Release Commit (step 3 of 4)
run: bb ./script/release.clj commit

- name: Make GitHub Actions aware of target version tag
run: echo "::set-output name=tag::v$(cat ./target/target-version.txt)"
id: target-version

- name: Create GitHub release (step 4 of 4)
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.target-version.outputs.tag}}
release_name: ${{ steps.target-version.outputs.tag}}
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ For a list of breaking changes see link:#v1-breaking[breaking changes].

=== Unreleased

==== Internal changes (developer/maintainer facing only)
* Release workflow now creates a GitHub release
* Upgrade to current test-doc-blocks

=== v1.0.574-alpha

* Docs now render on cljdoc https://github.com/clj-commons/rewrite-clj/issues/138[#138]
Expand Down

0 comments on commit 5a4cd4a

Please sign in to comment.