From 7a35efc4dcb362385c6ecf317f509eb8f1785976 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Wed, 22 Sep 2021 14:19:32 -0400 Subject: [PATCH] Fix variable in versioninfo script (#156) --- scripts/make-versioninfo.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/make-versioninfo.ps1 b/scripts/make-versioninfo.ps1 index f2a976201..6b334ba8f 100644 --- a/scripts/make-versioninfo.ps1 +++ b/scripts/make-versioninfo.ps1 @@ -1,4 +1,4 @@ -$major,$minor,$patch = $env:_PACKAGE_VERSION.split('.') +$major, $minor, $patch = $env:_PACKAGE_VERSION.split('.') $versionInfo = @" @@ -15,8 +15,8 @@ BLOCK "StringFileInfo" VALUE "CompanyName", "Bitwarden Inc." VALUE "ProductName", "Bitwarden" VALUE "FileDescription", "Bitwarden Directory Connector CLI" - VALUE "FileVersion", "$env:PACKAGE_VERSION" - VALUE "ProductVersion", "$env:PACKAGE_VERSION" + VALUE "FileVersion", "$env:_PACKAGE_VERSION" + VALUE "ProductVersion", "$env:_PACKAGE_VERSION" VALUE "OriginalFilename", "bwdc.exe" VALUE "InternalName", "bwdc" VALUE "LegalCopyright", "Copyright Bitwarden Inc."