Skip to content

Commit

Permalink
exe file name with version
Browse files Browse the repository at this point in the history
  • Loading branch information
floatas committed Feb 3, 2022
1 parent c510c59 commit 56ed714
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/CreateNuget.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#-------Get Version from YAPA.exe
$fullVersion = (dir ..\Release\Yapa.exe).VersionInfo.FileVersion
$baseUri = 'http://app.floatas.net/installers/YAPA-2/'
#-PRE-RELEASE
$squirrelVersionRegex = "\d+\.\d+\.\d+"
$squirrelVersion = [regex]::matches($fullVersion, $squirrelVersionRegex)

Expand Down Expand Up @@ -39,7 +40,7 @@ Invoke-WebRequest -Uri $lastReleasePath -OutFile "Release\$lastRelease"

..\packages\squirrel.windows.1.5.28\tools\Squirrel --releasify YAPA2.$squirrelVersion.nupkg --releaseDir=Release --no-msi

Move-Item -Path Release\Setup.exe -Destination Release\YAPA2.exe -Force
Move-Item -Path Release\Setup.exe -Destination Release\YAPA2.$squirrelVersion.exe -Force



Expand Down
3 changes: 3 additions & 0 deletions Build/YAPA2.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@









Expand Down

0 comments on commit 56ed714

Please sign in to comment.