diff --git a/download_dependencies.ps1 b/download_dependencies.ps1 index 37813ce..c40d91e 100644 --- a/download_dependencies.ps1 +++ b/download_dependencies.ps1 @@ -1,5 +1,4 @@ -Param([parameter(Mandatory=$true,Position=0)][String]$GLFW_VERSION, - [parameter(Mandatory=$true,Position=1)][String]$GLFW_SHORT_VERSION) +Param([parameter(Mandatory=$true,Position=0)][String]$GLFW_VERSION) New-Item -ItemType Directory -Force -Path tmp diff --git a/make_nuget.ps1 b/make_nuget.ps1 index be8ad24..2f79b50 100644 --- a/make_nuget.ps1 +++ b/make_nuget.ps1 @@ -14,7 +14,7 @@ if($currentBranch -eq "develop") { $buildVersionResult = "0-pre" + (Get-Date).ToUniversalTime().ToString("yyyyMMddHHmmss") } -./download_dependencies.ps1 $GLFW_VERSION $GLFW_SHORT_VERSION +./download_dependencies.ps1 $GLFW_VERSION $header = Get-Content([System.IO.Path]::Combine($projectDir, ".\tmp\src\include\GLFW\glfw3.h")) | Out-String