fix: improve release scripts with .env loading and idempotent publish
Some checks are pending
CI / lint (push) Waiting to run
CI / typecheck (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / package (push) Blocked by required conditions

Scripts now auto-load .env for GITEA_TOKEN, handle re-publishing
by deleting existing versions first, and release.sh does build +
publish + install in one command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michal
2026-02-21 14:04:07 +00:00
parent 48fce7fe45
commit e1ed585e2a
4 changed files with 77 additions and 10 deletions

View File

@@ -17,7 +17,8 @@
"db:down": "docker compose -f deploy/docker-compose.yml down",
"typecheck": "tsc --build",
"rpm:build": "bash scripts/build-rpm.sh",
"rpm:publish": "bash scripts/publish-rpm.sh"
"rpm:publish": "bash scripts/publish-rpm.sh",
"release": "bash scripts/release.sh"
},
"engines": {
"node": ">=20.0.0",