generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
37 lines (34 loc) · 1.02 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Bump SemVer Action
description: GitHub Action to bump semantic versioning based on releases or tags
author: flatherskevin
branding:
icon: chevron-up
color: purple
inputs:
incrementLevel:
required: true
description: "Increment a version by the specified level. Can be one of: major, minor, patch, premajor, preminor, prepatch, or prerelease"
token:
required: true
description: GitHub token to access API
default: ${{ github.token }}
prefix:
required: false
description: Filter versions by prefix
default: ''
source:
required: false
description: "Where to pull versions from. Can be one of: releases or tags"
default: tags
includePrereleases:
required: false
description: Include prereleases when determining the latest version to increment
default: "false"
outputs:
currentVersion:
description: The current version used as a base
nextVersion:
description: The new version after a semantic version bump
runs:
using: 'node20'
main: 'dist/index.js'