Skip to content

Commit

Permalink
Update release-prep.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedias authored Dec 31, 2024
1 parent 5f1c049 commit 96840b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release-prep.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 96840b1

Please sign in to comment.