From cde76a702d266fd81d813da582ab17d5de02a4c8 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Build-Dependencies.ps1 b/Build-Dependencies.ps1 index e6995fda4..54106e006 100644 --- a/Build-Dependencies.ps1 +++ b/Build-Dependencies.ps1 @@ -142,6 +142,19 @@ 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 = @{