mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-03 22:15:31 +00:00
feat: Add semantic versioning compatibility (#47)
* feat: Use regex groups * feat: Add semver input * deps: Add semver v7.3.7 * deps(Dev): Add @types/semver v7.3.9 * feat: Add prerelease output * chore: Update action directory * feat: Log prerelease value * ci(GitHub): Update release workflow * docs: Update README.md * feat: Add ability to detect previous version based on semver comparison * ci(GitHub): fix test workflow
This commit is contained in:
1 parent
de993f2bea
commit
bd78d66436
16 files changed
+226
-53
No files matched your search
+20
-12
@@ -1,22 +1,22 @@
|
||||
name: 'Auto Changelog'
|
||||
name: Auto Changelog
|
||||
|
||||
description: 'Automatic Changelog generator'
|
||||
description: Automatic Changelog generator
|
||||
|
||||
author: 'Ardalan Amini'
|
||||
author: Ardalan Amini
|
||||
|
||||
branding:
|
||||
icon: 'clock'
|
||||
color: 'blue'
|
||||
icon: clock
|
||||
color: blue
|
||||
|
||||
inputs:
|
||||
|
||||
github-token:
|
||||
description: 'Github token'
|
||||
description: Github token
|
||||
required: true
|
||||
default: ${{ github.token }}
|
||||
|
||||
commit-types:
|
||||
description: 'Commit types'
|
||||
description: Commit types
|
||||
required: true
|
||||
default: |
|
||||
breaking: Breaking Changes
|
||||
@@ -35,15 +35,23 @@ inputs:
|
||||
other: Other Changes
|
||||
|
||||
default-commit-type:
|
||||
description: 'Default commit type to be used when the commit message matches none of the defined types'
|
||||
description: Default commit type to be used when the commit message matches none of the defined types
|
||||
required: true
|
||||
default: 'Other Changes'
|
||||
default: Other Changes
|
||||
|
||||
semver:
|
||||
description: Enable semver based version comparison
|
||||
required: true
|
||||
default: 'true'
|
||||
|
||||
outputs:
|
||||
|
||||
changelog:
|
||||
description: 'The generated changelogs'
|
||||
description: The generated changelogs
|
||||
|
||||
prerelease:
|
||||
description: Indicates whether it's a pre-release or not (if semver is set to true, otherwise this output will always return false)
|
||||
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: 'action/index.js'
|
||||
using: node16
|
||||
main: action/index.js
|
||||
Reference in new issue
Block a user