Prune obsolete dist artifacts after builds

This commit is contained in:
NuklearRabbit
2026-07-26 01:03:48 +02:00
parent 3e5e3d2a8b
commit b7daef3cd9
5 changed files with 52 additions and 6 deletions
+2
View File
@@ -40,6 +40,8 @@ $env:FORGEFLOW_USER_DATA = "$env:APPDATA\forgeflow"
npm run release:binary
```
Every platform build finishes by removing ForgeFlow artifacts for older versions from `dist`. The unpacked application directory and builder diagnostics are kept.
The publisher refuses to upload when local `HEAD` differs from `origin/main`. Users on 0.8.1 or older need one manual 0.8.2 installation because those versions deliberately disabled packaged updates.
## Publishing a release from Downloads