From 8db53c89ae6d6da3c17ddaa3dff349c37d665b24 Mon Sep 17 00:00:00 2001 From: Tim Kennedy Date: Fri, 3 Jul 2026 14:30:20 -0500 Subject: [PATCH] Fix quotes --- CultureList/PowerShell/GenBuildInfo.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CultureList/PowerShell/GenBuildInfo.ps1 b/CultureList/PowerShell/GenBuildInfo.ps1 index c45be5b..f2d0425 100644 --- a/CultureList/PowerShell/GenBuildInfo.ps1 +++ b/CultureList/PowerShell/GenBuildInfo.ps1 @@ -8,7 +8,7 @@ $nowUTC = (Get-Date).ToUniversalTime().ToString('yyyy/MM/dd HH:mm:ss') $class = "// Copyright (c) Tim Kennedy. All Rights Reserved. Licensed under the MIT License. -// This file is generated during a pre-build event by PowerShell\GenBuildInfo.ps1. +// This file is generated during build by PowerShell\GenBuildInfo.ps1. // Any edits to this file will be overwritten during the next build! namespace $assemblyName; @@ -30,9 +30,10 @@ internal static class BuildInfo public static readonly string BuildDateStringUtc = $`"{BuildDateUtc:f} (UTC)`"; - public static readonly string VersionString = string.IsNullOrWhiteSpace(Prerelease) + public static readonly string VersionString = string.IsNullOrWhiteSpace(Prerelease) ? VersionInfo.Version - : $"{VersionInfo.Version}-{Prerelease}";}" + : $`"{VersionInfo.Version}-{Prerelease}`"; +}" $outputPath = Join-Path -Path $(Get-Location).Path -ChildPath $outputFile Set-Content -Path "$outputPath" -Value $class -Encoding utf8BOM \ No newline at end of file