Prune dist cache before early exit and fix source logging
This commit is contained in:
@@ -6,3 +6,7 @@
|
||||
- Kept `https://dl.gitea.com/gitea/version.json` as a fallback because it may lag behind published releases.
|
||||
- Added explicit support for overriding the target version with `./build.sh <version>` or `GITEA_VERSION=<version> ./build.sh`.
|
||||
- Added runtime logging so `build.sh` prints which version source was used.
|
||||
- Changed `build.sh` to stage package contents in `build/<version>/...` so repository files are not modified during a build.
|
||||
- Removed tracked Gitea binaries and PhpStorm project files from the repository and added ignore rules for local-only files.
|
||||
- Added pruning of stale `dist/<arch>/gitea-*` cache files before each run, including runs that abort because the current release is already built.
|
||||
- Fixed version-source logging after cache pruning so `Version source:` is populated correctly again.
|
||||
|
||||
Reference in New Issue
Block a user