Skip to content

chore: remove Conventional Changelog Action from workflow #7

chore: remove Conventional Changelog Action from workflow

chore: remove Conventional Changelog Action from workflow #7

Workflow file for this run

# test
name: version, tag and github release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: oclif/github-workflows/.github/actions/getPreReleaseTag@main
id: distTag
if: inputs.prerelease
- name: prerelease package.json validation
if: inputs.prerelease && !steps.distTag.outputs.tag
uses: actions/github-script@v3
with:
script: |
core.setFailed('Prerelease requires a dist tag name in your package.json like beta in 1.1.1-beta.0')
- name: Create Github 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 }}
prerelease: ${{ inputs.prerelease }}