refactor(build): changes to add in releasing from build

This commit is contained in:
2025-07-16 07:07:08 -05:00
parent 70e376c939
commit 942be59715
2 changed files with 9 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
"docker": "powershell -File ./scripts/dockerBuild.ps1", "docker": "powershell -File ./scripts/dockerBuild.ps1",
"release:createZip": "powershell -File ./scripts/release.ps1", "release:createZip": "powershell -File ./scripts/release.ps1",
"release:gitea": "node ./scripts/create-gitea-release.js", "release:gitea": "node ./scripts/create-gitea-release.js",
"release": "release-it --verbose --non-interactive --preRelease=alpha", "release:publish": "release-it --verbose --non-interactive --preRelease=alpha",
"commit": "cz" "commit": "cz"
}, },
"repository": { "repository": {

View File

@@ -121,6 +121,14 @@ function Update-BuildNumber {
Write-Host "Zipping up the release" Write-Host "Zipping up the release"
npm run release:createZip npm run release:createZip
$choice = Read-Host "Are we going to create a release? y/N"
if ($choice -eq "y" -or $choice -eq "Y") {
npm run release:gitea $version
npm run release:publish
}
break break