Skip to content

Commit

Permalink
Fixed the regex
Browse files Browse the repository at this point in the history
  • Loading branch information
devedse committed Sep 20, 2016
1 parent 5ea3d56 commit 06a2993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Scripts/GoRepack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ call "%~dp0Cleanup.cmd"

rem xcopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.0" "%~dp0Output\" /e /y

rem robocopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.0" "%~dp0Output" /E /xf *.pdb
robocopy "%~dp0..\src" "%~dp0Output" /E /xf *.pdb
robocopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.0" "%~dp0Output" /E /xf *.pdb

"%~dp0\7z_x64_1602\7za.exe" a -mm=Deflate -mfb=258 -mpass=15 "%~dp0DeveMazeGeneratorCore.zip" "%~dp0Output\*"
"%~dp0\7z_x64_1602\7za.exe" a -t7z -m0=LZMA2 -mmt=on -mx9 -md=1536m -mfb=273 -ms=on -mqs=on -sccUTF-8 "%~dp0DeveMazeGeneratorCore.7z" "%~dp0Output\*"
2 changes: 1 addition & 1 deletion Scripts/set-version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $ScriptDir = Split-Path -Path $PSScriptFilePath -Parent
$SolutionRoot = Split-Path -Path $ScriptDir -Parent

$ProjectJsonPath = Join-Path -Path $SolutionRoot -ChildPath "src\DeveMazeGenerator\project.json"
$re = [regex]"(?<=`"version`":\s`")[.\w-]*(?=`",)"
$re = [regex]"(?<=`"version`":\s`")[.\w-\*]*(?=`",)"

Write-Host "ProjectJson Path: $ProjectJsonPath"
Write-Host "Writing version: $ReleaseVersionNumber$PreReleaseName"
Expand Down

0 comments on commit 06a2993

Please sign in to comment.