Skip to content

Commit

Permalink
fix: Remove Release CI, can do manually (#7)
Browse files Browse the repository at this point in the history
GitHub now offers a comprehensive changelog builder as part of the
release creation flow.

This is simple and a good alternative to wiring multiple GitHub Actions
together to trigger on a git tag push.
  • Loading branch information
karlskewes authored May 4, 2023
1 parent c7d50a4 commit 33be983
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,3 @@ jobs:

- name: Run unit tests
run: cd tests && make

release:
runs-on: ubuntu-latest
needs: [build]
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Extract tag
id: extract_tag
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}

- name: Extract repository
id: extract_repo
run: echo ::set-output name=REPO::${GITHUB_REPOSITORY##*/}

- name: Generate changelog
id: generate_changelog
uses: metcalfc/[email protected]
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: |
${{ steps.generate_changelog.outputs.changelog }}

0 comments on commit 33be983

Please sign in to comment.