mirror of
https://github.com/kellymichels/zscripts-token-savers
synced 2026-10-06 07:08:17 +00:00
fix(zdeploy): the pre-zip line states the label verification will require (#56)
Mirrors evo.scripts#79. Invoke-ViteDeploy announced "(server-side build will bump +1)" and then Wait-VerifyStaticBuild asked for the committed stamp unchanged, so the operator was told to expect one label and watched a check pass on another. The behavior was already correct; the message predates the removal of the prebuild hook that used to self-bump inside the image. Wait-VerifyStaticBuild documents it: "Expect the COMMITTED stamp, not +1: builds no longer self-bump ... so 'is the build I just packed live?' means an exact match." CHECKSUMS.txt regenerated, since zdeploy.ps1 changed.
This commit is contained in:
parent
fcbad44e0e
commit
432f2109e1
@ -8,7 +8,7 @@ dbd1b9c64fba16a308ffa8fa936f1bfda556b049aaa30ebe5400ca74b7e6aa5d zbackup_ec2.ps
|
||||
e03075f367a9ecee0f97438bc381044c74b7bd4e8cb4ff66b40048bba7ffd25a zchecksums.cmd
|
||||
8382ad5f972405678b73616f608a80e3eb1814c927ba104e446d36c4f9f5c66d zchecksums.ps1
|
||||
3d1064817ace57fe61c54104900775a0208fdf7e782043cced84b002347acb11 zdeploy.cmd
|
||||
5610abe7d4e979b3d8cdabb50710f23969454b647f0ab4f90d7cd68cc7f5ee38 zdeploy.ps1
|
||||
463cd3e3f4c24614e8894be94d1b7aa8446bd603d341c49c82a61fc811a9094f zdeploy.ps1
|
||||
6fa05d7c47992801d0ad65095146764cc207b566dca85956b3152221ef9af368 zec2.cmd
|
||||
72217c04e8975f46b489bd7e223f9fda926d982a8e418fc2825c6aa4657f73b7 zec2.ps1
|
||||
d0702f372ec5e47e2632229c61b71a9184edf0775d6e23af74e3f919d13eadb9 zec2_rotatekeys.cmd
|
||||
|
||||
@ -490,7 +490,7 @@ function Invoke-ViteDeploy {
|
||||
Write-Host "`n--- [1] Zipping site ---" -ForegroundColor Cyan
|
||||
$preZipBuild = Read-JsonBuildVersion -FilePath (Join-Path $root "build-version.json")
|
||||
if ($preZipBuild) {
|
||||
Write-Host " Pre-zip build label: $(Get-LabelFromBuildJsonObj $preZipBuild) (server-side build will bump +1)" -ForegroundColor Gray
|
||||
Write-Host " Pre-zip build label: $(Get-LabelFromBuildJsonObj $preZipBuild) (verification expects this exact label)" -ForegroundColor Gray
|
||||
}
|
||||
New-ProjectArchive -SourcePath $root -DestinationZip $zipLocal -TopLevelExclude (Get-ArchiveExcludes -Project $Proj)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user