File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
microsoft_powershell_windowsservercore Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ function Start-PSBuild {
303
303
304
304
[switch ]$CrossGen ,
305
305
306
- [ValidatePattern (" ^v\d+\.\d+\.\d+(-\ w+(\.\d{1,2 })?)?$" )]
306
+ [ValidatePattern (" ^v\d+\.\d+\.\d+(-(daily.\d{8}|\ w+(\.\d{1,8 })?) )?$" )]
307
307
[ValidateNotNullOrEmpty ()]
308
308
[string ]$ReleaseTag ,
309
309
[switch ]$Detailed ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function Start-PSPackage {
20
20
[string ]$Version ,
21
21
22
22
[Parameter (ParameterSetName = " ReleaseTag" )]
23
- [ValidatePattern (" ^v\d+\.\d+\.\d+(-\ w+(\.\d{1,2 })?)?$" )]
23
+ [ValidatePattern (" ^v\d+\.\d+\.\d+(-(daily.\d{8}|\ w+(\.\d{1,8 })?) )?$" )]
24
24
[ValidateNotNullOrEmpty ()]
25
25
[string ]$ReleaseTag ,
26
26
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ param (
11
11
# Destination location of the package on docker host
12
12
[string ] $destination = ' /mnt' ,
13
13
14
- [ValidatePattern (" ^v\d+\.\d+\.\d+(-\ w+(\.\d{1,2 })?)?$" )]
14
+ [ValidatePattern (" ^v\d+\.\d+\.\d+(-(daily.\d{8}|\ w+(\.\d{1,8 })?) )?$" )]
15
15
[ValidateNotNullOrEmpty ()]
16
16
[string ]$ReleaseTag ,
17
17
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ param (
18
18
19
19
[switch ] $Wait ,
20
20
21
- [ValidatePattern (" ^v\d+\.\d+\.\d+(-\ w+(\.\d{1,2 })?)?$" )]
21
+ [ValidatePattern (" ^v\d+\.\d+\.\d+(-(daily.\d{8}|\ w+(\.\d{1,8 })?) )?$" )]
22
22
[ValidateNotNullOrEmpty ()]
23
23
[string ] $ReleaseTag ,
24
24
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ param (
18
18
[Parameter (Mandatory , ParameterSetName = ' packageSigned' )]
19
19
[Parameter (Mandatory , ParameterSetName = ' IncludeSymbols' )]
20
20
[Parameter (Mandatory , ParameterSetName = ' Build' )]
21
- [ValidatePattern (" ^v\d+\.\d+\.\d+(-\ w+(\.\d{1,2 })?)?$" )]
21
+ [ValidatePattern (" ^v\d+\.\d+\.\d+(-(daily.\d{8}|\ w+(\.\d{1,8 })?) )?$" )]
22
22
[ValidateNotNullOrEmpty ()]
23
23
[string ]$ReleaseTag ,
24
24
Original file line number Diff line number Diff line change 4
4
param (
5
5
[Parameter (ParameterSetName = ' packageSigned' )]
6
6
[Parameter (ParameterSetName = ' Build' )]
7
- [ValidatePattern (" ^v\d+\.\d+\.\d+(-\ w+(\.\d{1,2 })?)?$" )]
7
+ [ValidatePattern (" ^v\d+\.\d+\.\d+(-(daily.\d{8}|\ w+(\.\d{1,8 })?) )?$" )]
8
8
[string ]$ReleaseTag ,
9
9
10
10
# full paths to files to add to container to run the build
You can’t perform that action at this time.
0 commit comments