windows: 0.3.4 release (amd64+arm64 setup.exe and zip) built on Linux via build-windows-release.sh; site + downloads manifest
This commit is contained in:
parent
2fef6575ba
commit
c5d07b2102
5 changed files with 75 additions and 22 deletions
37
platform/windows/build-windows-release.sh
Executable file
37
platform/windows/build-windows-release.sh
Executable file
|
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/env bash
|
||||
# Linux/macOS equivalent of build-windows.ps1: cross-compile the Windows release
|
||||
# (CLI + windowless helper), stage scripts, build the NSIS release installer
|
||||
# (installer-windows.nsi) and a portable .zip for amd64 and arm64.
|
||||
# Usage: platform/windows/build-windows-release.sh # VERSION from internal/job/job.go
|
||||
# VERSION=0.3.4 ARCHES="amd64" platform/windows/build-windows-release.sh
|
||||
# Needs: go, makensis (apt install nsis / brew install nsis), zip.
|
||||
# Output is unsigned; Authenticode signing is a separate step.
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
||||
WIN="$ROOT/platform/windows"
|
||||
VERSION="${VERSION:-$(grep -E 'HelperVersion\s*=' "$ROOT/internal/job/job.go" | head -1 | sed -E 's/.*"([^"]+)".*/\1/')}"
|
||||
ARCHES="${ARCHES:-amd64 arm64}"
|
||||
OUT="${OUT:-$ROOT/dist/windows}"
|
||||
MAKENSIS="${MAKENSIS:-$(command -v makensis || echo /opt/homebrew/bin/makensis)}"
|
||||
SHA="$(command -v sha256sum || echo 'shasum -a 256')"
|
||||
[[ -x "$MAKENSIS" ]] || { echo "makensis not found" >&2; exit 1; }
|
||||
mkdir -p "$OUT"
|
||||
cd "$ROOT"
|
||||
echo "==> go test (host)"; go test ./internal/... ./cmd/...
|
||||
for arch in $ARCHES; do
|
||||
stage="$OUT/stage-$arch"; rm -rf "$stage"; mkdir -p "$stage/scripts"
|
||||
echo "==> windows/$arch $VERSION"
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH="$arch" go build -trimpath -ldflags "-s -w" -o "$stage/verae-print.exe" ./cmd/verae-print
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH="$arch" go build -trimpath -ldflags "-s -w -H windowsgui" -o "$stage/verae-printhelper.exe" ./cmd/verae-print
|
||||
cp "$WIN"/scripts/*.ps1 "$stage/scripts/"
|
||||
cp "$WIN/LICENSE.txt" "$WIN/README-WINDOWS.txt" "$stage/"
|
||||
"$MAKENSIS" -V2 -DVERSION="$VERSION" -DARCH="$arch" -DSRCDIR="$stage" -DOUTDIR="$OUT" "$WIN/installer-windows.nsi"
|
||||
setup="$OUT/VeraePrintStamp-windows-$arch-$VERSION-setup.exe"
|
||||
[[ -f "$setup" ]] || { echo "missing $setup" >&2; exit 1; }
|
||||
cp -f "$setup" "$OUT/VeraePrintStamp-windows-$arch-setup.exe"
|
||||
zdir="VeraePrintStamp-windows-$arch-$VERSION"
|
||||
rm -rf "$OUT/$zdir" "$OUT/$zdir.zip"; cp -r "$stage" "$OUT/$zdir"
|
||||
(cd "$OUT" && zip -qr "$zdir.zip" "$zdir" && cp -f "$zdir.zip" "VeraePrintStamp-windows-$arch.zip" && rm -rf "$zdir")
|
||||
done
|
||||
(cd "$OUT" && $SHA VeraePrintStamp-windows-*.exe VeraePrintStamp-windows-*.zip | tee SHA256SUMS)
|
||||
ls -l "$OUT"/VeraePrintStamp-windows-*
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Build the Windows installer natively on Windows (Go + NSIS).
|
||||
# Usage: powershell -ExecutionPolicy Bypass -File platform\windows\build-windows.ps1 [-Arch amd64|arm64]
|
||||
param([string]$Arch = "amd64", [string]$Version = "0.3.2")
|
||||
param([string]$Arch = "amd64", [string]$Version = "0.3.4")
|
||||
$ErrorActionPreference = "Stop"
|
||||
$Root = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path
|
||||
$Out = Join-Path $Root "dist\windows"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
; Logging: one concise %ProgramData%\Verae\logs\installer-<time>.log with errors and
|
||||
; the per-step result summary. (Start > Verae > Collect diagnostics for troubleshooting.)
|
||||
!ifndef VERSION
|
||||
!define VERSION "0.3.2"
|
||||
!define VERSION "0.3.4"
|
||||
!endif
|
||||
!ifndef ARCH
|
||||
!define ARCH "amd64"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
total 164968
|
||||
drwxr-xr-x 2 marchon marchon 4096 Oct 3 15:36 .
|
||||
drwxr-xr-x 5 marchon marchon 4096 Oct 4 08:19 ..
|
||||
-rw-r--r-- 1 marchon marchon 2981 Oct 3 15:36 SHA256SUMS
|
||||
-rw-r--r-- 1 marchon marchon 2483600 Oct 3 00:08 verae-print_0.1.2_amd64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2114536 Oct 3 00:08 verae-print_0.1.2_arm64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2483600 Oct 3 00:08 verae-print_amd64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2114536 Oct 3 00:08 verae-print_arm64.deb
|
||||
total 207184
|
||||
drwxr-xr-x 2 marchon marchon 4096 Oct 9 03:48 .
|
||||
drwxr-xr-x 5 marchon marchon 4096 Oct 9 03:48 ..
|
||||
-rw-r--r-- 1 marchon marchon 3724 Oct 9 03:48 SHA256SUMS
|
||||
-rw-r--r-- 1 marchon marchon 2981 Oct 4 08:57 SHA256SUMS.bak-20261004-deb033
|
||||
-rw-r--r-- 1 marchon marchon 3206 Oct 4 09:16 SHA256SUMS.bak-20261004-deb034
|
||||
-rw-r--r-- 1 marchon marchon 18606858 Oct 3 00:00 VeraePrintStamp-0.1.2.pkg
|
||||
-rw-r--r-- 1 marchon marchon 19787377 Oct 3 14:45 VeraePrintStamp-0.3.1.pkg
|
||||
-rw-r--r-- 1 marchon marchon 19816111 Oct 3 15:36 VeraePrintStamp-0.3.2.pkg
|
||||
|
|
@ -22,21 +20,30 @@ drwxr-xr-x 5 marchon marchon 4096 Oct 4 08:19 ..
|
|||
-rw-r--r-- 1 marchon marchon 3219570 Oct 3 00:04 VeraePrintStamp-windows-amd64-0.1.2.zip
|
||||
-rw-r--r-- 1 marchon marchon 6092955 Oct 3 14:45 VeraePrintStamp-windows-amd64-0.3.1-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 6105599 Oct 3 15:36 VeraePrintStamp-windows-amd64-0.3.2-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 6105599 Oct 3 15:36 VeraePrintStamp-windows-amd64-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 3219570 Oct 3 00:04 VeraePrintStamp-windows-amd64.zip
|
||||
-rw-r--r-- 1 marchon marchon 5708320 Oct 9 03:48 VeraePrintStamp-windows-amd64-0.3.4-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 7133407 Oct 9 03:48 VeraePrintStamp-windows-amd64-0.3.4.zip
|
||||
-rw-r--r-- 1 marchon marchon 5708320 Oct 9 03:48 VeraePrintStamp-windows-amd64-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 7133407 Oct 9 03:48 VeraePrintStamp-windows-amd64.zip
|
||||
-rw-r--r-- 1 marchon marchon 2217567 Oct 3 00:08 VeraePrintStamp-windows-arm64-0.1.2-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 2865633 Oct 3 00:04 VeraePrintStamp-windows-arm64-0.1.2.zip
|
||||
-rw-r--r-- 1 marchon marchon 2217567 Oct 3 00:08 VeraePrintStamp-windows-arm64-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 2865633 Oct 3 00:04 VeraePrintStamp-windows-arm64.zip
|
||||
-rw-r--r-- 1 marchon marchon 2527896 Oct 9 03:48 VeraePrintStamp-windows-arm64-0.3.4-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 6359539 Oct 9 03:48 VeraePrintStamp-windows-arm64-0.3.4.zip
|
||||
-rw-r--r-- 1 marchon marchon 2527896 Oct 9 03:48 VeraePrintStamp-windows-arm64-setup.exe
|
||||
-rw-r--r-- 1 marchon marchon 6359539 Oct 9 03:48 VeraePrintStamp-windows-arm64.zip
|
||||
-rw-r--r-- 1 marchon marchon 9198592 Oct 3 14:45 verae-print-windows-amd64-0.3.1.exe
|
||||
-rw-r--r-- 1 marchon marchon 9216512 Oct 3 15:36 verae-print-windows-amd64-0.3.2.exe
|
||||
# Verae Print Stamp — printit.verae.ai (latest: 0.3.2 for Windows amd64, macOS, Linux; Windows arm64, .deb and .zip are 0.1.2)
|
||||
-rw-r--r-- 1 marchon marchon 8634368 Oct 9 03:48 verae-print-windows-amd64-0.3.4.exe
|
||||
-rw-r--r-- 1 marchon marchon 2483600 Oct 3 00:08 verae-print_0.1.2_amd64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2114536 Oct 3 00:08 verae-print_0.1.2_arm64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2733956 Oct 4 09:16 verae-print_0.3.4_amd64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2328692 Oct 4 09:16 verae-print_0.3.4_arm64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2733956 Oct 4 09:16 verae-print_amd64.deb
|
||||
-rw-r--r-- 1 marchon marchon 2328692 Oct 4 09:16 verae-print_arm64.deb
|
||||
# Verae Print Stamp — printit.verae.ai (latest: 0.3.4 for Windows amd64/arm64 (setup + zip) and Linux .deb; 0.3.2 for macOS and Linux tarballs)
|
||||
56cb72d8d65c5d2e1292b0a05f235ded0a267e66530229a53980887fc5de1b72 verae-print-windows-amd64-0.3.1.exe
|
||||
aa2e7f1843ccbd4d466c66e92a5460f0e3d499e6af0dcba2f93cbd49bc2012e5 verae-print-windows-amd64-0.3.2.exe
|
||||
079482b38ae3b49b268863209e309bb35072a3ec136f076f0ec5062d67a7c26e verae-print_0.1.2_amd64.deb
|
||||
f4e77bb3a300563882a100ab667e6e6fdff4a82a4254c04cb4c658f677fe2ca5 verae-print_0.1.2_arm64.deb
|
||||
079482b38ae3b49b268863209e309bb35072a3ec136f076f0ec5062d67a7c26e verae-print_amd64.deb
|
||||
f4e77bb3a300563882a100ab667e6e6fdff4a82a4254c04cb4c658f677fe2ca5 verae-print_arm64.deb
|
||||
403642bb889d6057b60ef70e1d5be13cbf01ec77792fac8d4bf4268e0823b8d9 VeraePrintStamp-0.1.2.pkg
|
||||
34e158f39bce31a43c50801bd9e18bb66a81c54e2e3d0db60847fdc299de3ed8 VeraePrintStamp-0.3.1.pkg
|
||||
47ef01906ed6408b2a29592a909548ace9eb0d20aa7ce7fd3f92a55ab55d8500 VeraePrintStamp-0.3.2.pkg
|
||||
|
|
@ -53,9 +60,18 @@ f4e77bb3a300563882a100ab667e6e6fdff4a82a4254c04cb4c658f677fe2ca5 verae-print_ar
|
|||
fe81e79b03402d41072050d863fa1da6a41337dd449a1bd23ebfc623edbf60e2 VeraePrintStamp-windows-amd64-0.1.2.zip
|
||||
0fc5e3c052267f9295393fdf9e68a4a101bf03fc647322a99d2daef45fc30887 VeraePrintStamp-windows-amd64-0.3.1-setup.exe
|
||||
e561af8f8c614f43237c5b97db5f5be2834009fb669c764955a06ce69b8ac987 VeraePrintStamp-windows-amd64-0.3.2-setup.exe
|
||||
e561af8f8c614f43237c5b97db5f5be2834009fb669c764955a06ce69b8ac987 VeraePrintStamp-windows-amd64-setup.exe
|
||||
fe81e79b03402d41072050d863fa1da6a41337dd449a1bd23ebfc623edbf60e2 VeraePrintStamp-windows-amd64.zip
|
||||
764ba39f7285375db5771f45452216c424d2d2a6713e48bf16fdbaa18286a9d7 VeraePrintStamp-windows-arm64-0.1.2-setup.exe
|
||||
3d4309f01f11396b0686ec1b55af7dbf8223ad6534da89864e013a024651d386 VeraePrintStamp-windows-arm64-0.1.2.zip
|
||||
764ba39f7285375db5771f45452216c424d2d2a6713e48bf16fdbaa18286a9d7 VeraePrintStamp-windows-arm64-setup.exe
|
||||
3d4309f01f11396b0686ec1b55af7dbf8223ad6534da89864e013a024651d386 VeraePrintStamp-windows-arm64.zip
|
||||
443506806b94a86ddf757183f36ccf3816dc29db20d40e3c5a4cd85e475618f7 verae-print_0.3.4_amd64.deb
|
||||
ac48db66045ecfd761a3ace972e2aab2eaad6d02f1e880004a0782727fc32547 verae-print_0.3.4_arm64.deb
|
||||
443506806b94a86ddf757183f36ccf3816dc29db20d40e3c5a4cd85e475618f7 verae-print_amd64.deb
|
||||
ac48db66045ecfd761a3ace972e2aab2eaad6d02f1e880004a0782727fc32547 verae-print_arm64.deb
|
||||
830e2fd0925c2aa7c2d6e836b2b97208254db2975e3ab6bfbffbb4280594630d VeraePrintStamp-windows-amd64-0.3.4-setup.exe
|
||||
dac6842e3932be47ae8296069c54536760902228772d381af9283d465c912ef4 VeraePrintStamp-windows-arm64-0.3.4-setup.exe
|
||||
fb5931629f5dcc5e17351fa1e3f4372cdc0d27fe165c99c99f2430929d1ddc0e VeraePrintStamp-windows-amd64-0.3.4.zip
|
||||
77a6f5bae5226a454d1814a4fec317e1b09b30ac8b10bb858551bc849a7c7b98 VeraePrintStamp-windows-arm64-0.3.4.zip
|
||||
be179864370ce904235735e0407cca10193622d359dd4836088c487d07c175b3 verae-print-windows-amd64-0.3.4.exe
|
||||
830e2fd0925c2aa7c2d6e836b2b97208254db2975e3ab6bfbffbb4280594630d VeraePrintStamp-windows-amd64-setup.exe
|
||||
dac6842e3932be47ae8296069c54536760902228772d381af9283d465c912ef4 VeraePrintStamp-windows-arm64-setup.exe
|
||||
fb5931629f5dcc5e17351fa1e3f4372cdc0d27fe165c99c99f2430929d1ddc0e VeraePrintStamp-windows-amd64.zip
|
||||
77a6f5bae5226a454d1814a4fec317e1b09b30ac8b10bb858551bc849a7c7b98 VeraePrintStamp-windows-arm64.zip
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@
|
|||
<div class="row">
|
||||
<div>
|
||||
<h2>Windows</h2>
|
||||
<p>GUI installer (NSIS) · Start Menu + PATH · finish page runs setup</p>
|
||||
<p>GUI installer (NSIS) 0.3.4 · Start Menu + PATH · finish page runs setup</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<a class="btn btn-primary" href="/downloads/VeraePrintStamp-windows-amd64-setup.exe">Installer x64</a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue