forked from codfish/semantic-release-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
82 lines (82 loc) · 3.44 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: 'Semantic Release Action'
description:
'Runs `semantic-release`. Respects .releaserc.js in your repo. Exports version variables for you
to use in subsequent actions.'
author: 'codfish'
branding:
icon: 'arrow-up-right'
color: 'orange'
inputs:
branches:
description:
'The branches on which releases should happen.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#branches'
required: false
extends:
description:
'String or array of modules or file paths containing a shareable configuration.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#extends'
required: false
plugins:
description:
'Define the list of plugins to use. Plugins will run in series, in the order defined, for each
steps if they implement it.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#plugins'
required: false
additional_packages:
description:
'Define a list of additional plugins or shareable configurations (official or community) to
install. Use this if you 1) use any plugins other than commit-analyzer,
release-notes-generator, github, or npm, which are already installed along with
semantic-release or 2) want to extend from a shareable configuration.
https://semantic-release.gitbook.io/semantic-release/extending/plugins-list'
required: false
dry_run:
description:
'The objective of the dry-run mode is to get a preview of the pending release. Dry-run mode
skips the following steps: prepare, publish, success and fail.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#dryrun'
required: false
repository_url:
description:
'The git repository URL.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#repositoryurl'
required: false
tag_format:
description:
'The Git tag format used by semantic-release to identify releases.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#tagformat'
required: false
branch:
description:
'DEPRECATED. Will continue to be supported for v1. Use `branches` instead. Previously used in
semantic-release v15 to set a single branch on which releases should happen.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#branches'
required: false
outputs:
new-release-published:
description:
"Either `'true'` when a new release was published or `'false'` when no release was published."
release-version:
description: "The new releases' semantic version, i.e. `1.8.3`."
release-major:
description: "The new releases' major version number, i.e. `1`."
release-minor:
description: "The new releases' minor version number, i.e. `8`."
release-patch:
description: "The new releases' patch version number, i.e. `3`."
release-notes:
description: "The release notes of the next release."
type:
description: "The semver export type of the release, e.g. `major`, `prerelease`, etc."
channel:
description: "The release channel of the release."
git-head:
description: "The git hash of the release."
git-tag:
description: "The version with v prefix."
name:
description: "The release name."
runs:
using: 'docker'
image: 'Dockerfile'