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
- Resolves#8 but instead of having to choose incremental or date-based,
you can use both.
Other:
- Fixes an issue where the action main script did not run. Path was
incorrect when running in a remote repo.
- Fixes a log issue where the setting of the incremental feature
enablement was showing incorrect value.
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ The action have the following parameters:
19
19
| --- | --- | --- | --- |
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
21
|`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 |
22
23
|`VersionPrefix`| The prefix to use for the version number. |`v`| false |
Copy file name to clipboardexpand all lines: action.yml
+6-1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ inputs:
14
14
description: Control wether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch.
15
15
required: false
16
16
default: 'true'
17
+
DatePrereleaseFormat:
18
+
description: If specified, uses a date based prerelease scheme. The format should be a valid .NET format string like 'yyyyMMddHHmm'.
19
+
required: false
20
+
default: ''
17
21
VersionPrefix:
18
22
description: The prefix to use for the version number.
0 commit comments