Skip to content

Commit

Permalink
Merge pull request #798 from jakeherp/release-workflow
Browse files Browse the repository at this point in the history
ci(release): adds release workflow
  • Loading branch information
jakeherp authored Jun 9, 2021
2 parents 0109438 + 39b1333 commit 0f304f2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

jobs:
release:
steps:
- name: Conventional Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
git-message: 'chore(release): {version}'
git-user-name: 'Github Actions'
git-user-email: 'jacob@herper.io'
preset: 'angular'
skip-on-empty: 'true'
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}

1 comment on commit 0f304f2

@vercel
Copy link

@vercel vercel bot commented on 0f304f2 Jun 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.