From 96840b17ba2fc6108db2eb92c2102b2e56d7f7c3 Mon Sep 17 00:00:00 2001 From: "George M. Dias" Date: Tue, 31 Dec 2024 16:47:58 -0600 Subject: [PATCH] Update release-prep.ps1 --- release-prep.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release-prep.ps1 b/release-prep.ps1 index 68dbf668d..b5d6c2406 100644 --- a/release-prep.ps1 +++ b/release-prep.ps1 @@ -117,9 +117,10 @@ do { Write-Output "$CYAN Setting SAF CLI version to: $nextVersion" | Green -# 4. Write the updated JSON back to the file +# 4. Update the package.json and VERSION files $jsonObject.version = $nextVersion $jsonObject | ConvertTo-Json -Depth 3 | Set-Content -Path "package.json" +[System.IO.File]::WriteAllText("VERSION", $nextVersion) Write-Output "Done" | Green Write-Host