From 59711c72a5fbe806dacc0a5186f348e877be3929 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Wed, 29 Mar 2023 20:53:03 +0200 Subject: [PATCH] utils.pwsh: Add current obs-deps version file to Windows packages --- Build-Dependencies.ps1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Build-Dependencies.ps1 b/Build-Dependencies.ps1 index e6995fda4..46f754236 100644 --- a/Build-Dependencies.ps1 +++ b/Build-Dependencies.ps1 @@ -142,6 +142,20 @@ function Package-Dependencies { Remove-Item -ErrorAction 'SilentlyContinue' -Path $Items -Force -Recurse + $Params = @{ + ErrorAction = "SilentlyContinue" + Path = @( + "share/obs-deps" + ) + ItemType = "Directory" + Force = $true + } + + New-Item @Params *> $null + + "$(Get-Date -Format "yyyy-MM-dd")" > share/obs-deps/VERSION + + Log-Information "Package dependencies" $Params = @{