@@ -121,6 +121,26 @@ release version, and matching checksum can be overridden through environment
|
||||
variables; copy `.env.example` to `.env` only when an override is needed. For
|
||||
example, set `TOOLBOX_HOST=staging.toolbox.add-ideas.de` for a staging host.
|
||||
|
||||
## One-shot release wrapper
|
||||
|
||||
For release assembly and publishing, use the repository-local wrapper:
|
||||
|
||||
```sh
|
||||
./scripts/release.sh
|
||||
```
|
||||
|
||||
That script performs (in order):
|
||||
|
||||
- optional `npm test`
|
||||
- `npm run build`
|
||||
- `npm run assemble` (using the lockfile’s `releaseVersion`)
|
||||
- tag and push (`v<releaseVersion>`)
|
||||
- publish/update a Gitea release and upload
|
||||
`add-ideas-toolbox-<version>.zip` and `.sha256`
|
||||
|
||||
Useful flags include `--skip-tests`, `--skip-git-push`, `--skip-publish`,
|
||||
`--tag`, `--owner`, `--repo`, and `--dry-run`.
|
||||
|
||||
The same container also exposes only the packaged authentication app at
|
||||
`https://auth.toolbox.add-ideas.de/`. Traefik adds the internal `/apps/auth`
|
||||
prefix while the public URL remains `/`, so assets remain relative and the browser
|
||||
|
||||
Reference in New Issue
Block a user