@@ -69,11 +69,11 @@ else {
6969
7070$newversion = $newrawversion [0 ]+ " ." + $newrawversion [1 ]+ " ." + $newrawversion [2 ]
7171
72- $rawreleasedate = $ (Get-Content $readme )| Select-String - Pattern" \*\* [A-Z][a-z]+\S.\d+,?\S.\d\d\d\d\*\* "
72+ $rawreleasedate = $ (Get-Content $readme )| Select-String - Pattern" \#\#\s. [A-Z][a-z]+\S.\d+,?\S.\d\d\d\d"
7373if ([string ]::IsNullOrEmpty($rawreleasedate )) {
7474Write-Error " ERROR: Failed to current release date!" - ErrorAction Stop
7575}
76- $releasedate = $rawreleasedate -replace ' \* ' , ' '
76+ $releasedate = $rawreleasedate -replace ' ## ' , ' '
7777
7878if ($releasedate -eq $newreleasedate ) {
7979Write-Error (" ERROR: Release" + $releasedate + " already exists!" )- ErrorAction Stop
@@ -102,7 +102,7 @@ if($UpdateVersion) {
102102 (Get-Content $header ).Replace(" #define UVATLAS_VERSION$rawversion " , " #define UVATLAS_VERSION$newrawversion " )| Set-Content $header
103103}
104104
105- (Get-Content $readme ).Replace(" $rawreleasedate " , " ** $newreleasedate ** " )| Set-Content $readme
105+ (Get-Content $readme ).Replace(" $rawreleasedate " , " ## $newreleasedate " )| Set-Content $readme
106106
107107Get-ChildItem - Path ($reporoot + " \.nuget" )- Filter* .nuspec| Foreach-Object {
108108 (Get-Content - Path$_.Fullname ).Replace(" $releasedate " , " $newreleasedate " )| Set-Content - Path$_.Fullname - Encoding utf8