Skip to content

Commit

Permalink
chore: enable automatic package creation
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrosman committed May 23, 2024
1 parent 59c0796 commit 9ddaeba
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,22 @@ on:
- main

jobs:
# TODO: Once 1.0.0 is released, we can automate releases with conventional commits
# changelog:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Conventional Changelog Action
# id: changelog
# uses: TriPSs/[email protected]
# with:
# github-token: ${{ secrets.PA_TOKEN }}
# version-file: './package.json,./package-lock.json'
# - name: create release
# uses: actions/create-release@v1
# if: ${{ steps.changelog.outputs.skipped == 'false' }}
# env:
# GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
# with:
# tag_name: ${{ steps.changelog.outputs.tag }}
# release_name: ${{ steps.changelog.outputs.tag }}
# body: ${{ steps.changelog.outputs.clean_changelog }}
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.PA_TOKEN }}
version-file: './package.json,./package-lock.json'
- name: create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}

0 comments on commit 9ddaeba

Please sign in to comment.