You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes If PR is closed and not merged, remove prereleases #3
Fixes Make cleanup optional using a parameter #5
Fixes Make major (vX) and minor (vX.Y) tags optional, on by default, using a parameter #6
@@ -17,9 +16,12 @@ The action have the following parameters:
17
16
18
17
| Parameter | Description | Default | Required |
19
18
| --- | --- | --- | --- |
19
+
|`AutoCleanup`| Control wether to automatically cleanup prereleases. If disabled, the action will not remove any prereleases. |`true`| false |
20
20
|`AutoPatching`| Control wether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label. |`true`| false |
21
+
|`CreateMajorTag`| Control wether to create a tag for major releases. |`true`| false |
22
+
|`CreateMinorTag`| Control wether to create a tag for minor releases. |`true`| false |
23
+
|`DatePrereleaseFormat`| The format to use for the prerelease number using [.NET DateTime format strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings). |`''`| false |
21
24
|`IncrementalPrerelease`| Control wether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch. |`true`| false |
22
-
|`DataPrereleaseFormat`| The format to use for the prerelease number using [.NET DateTime format strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings). |`''`| false |
23
25
|`VersionPrefix`| The prefix to use for the version number. |`v`| false |
description: Automatically creates releases based on pull requests and labels.
3
-
3
+
author: PSModule
4
4
branding:
5
5
icon: activity
6
6
color: blue
7
7
8
8
inputs:
9
+
AutoCleanup:
10
+
description: Control wether to automatically delete the prerelease tags after the stable release is created.
11
+
required: false
12
+
default: 'true'
9
13
AutoPatching:
10
14
description: Control wether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label.
11
15
required: false
12
16
default: 'true'
13
-
IncrementalPrerelease:
14
-
description: Control wether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch.
17
+
CreateMajorTag:
18
+
description: Control wether to create a major tag when a pull request is merged into the main branch.
19
+
required: false
20
+
default: 'true'
21
+
CreateMinorTag:
22
+
description: Control wether to create a minor tag when a pull request is merged into the main branch.
15
23
required: false
16
24
default: 'true'
17
25
DatePrereleaseFormat:
18
26
description: If specified, uses a date based prerelease scheme. The format should be a valid .NET format string like 'yyyyMMddHHmm'.
19
27
required: false
20
28
default: ''
29
+
IncrementalPrerelease:
30
+
description: Control wether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch.
31
+
required: false
32
+
default: 'true'
21
33
VersionPrefix:
22
34
description: The prefix to use for the version number.
0 commit comments