Update version to 0.1.6
Add Gitea package registry support Add publish-dmg target for versioned DMG uploads Update deploy-dmg to include Gitea publishing Document Gitea token requirements in README
This commit is contained in:
@@ -25,6 +25,18 @@ mkdir -p $SSH_REMOTE_DIR/download
|
||||
server, then `docker compose pull && up -d`.
|
||||
- **DMG** → built on macOS, uploaded by hand: `make deploy-dmg`
|
||||
(sets the stable `download/spacesh.dmg`). Tauri can't build a macOS bundle in CI.
|
||||
The same command also publishes a **versioned** copy to the Gitea package
|
||||
registry (`Packages` tab) when `GITEA_TOKEN` is set:
|
||||
|
||||
```bash
|
||||
GITEA_TOKEN=<token-with-package:write> make deploy-dmg # server + Gitea Packages
|
||||
make publish-dmg GITEA_TOKEN=<token> # build + Gitea Packages only
|
||||
```
|
||||
|
||||
Published at `{GITEA_URL}/api/packages/{GITEA_OWNER}/generic/spacesh/<version>/spacesh-<version>.dmg`
|
||||
(override `GITEA_URL`/`GITEA_OWNER`/`GITEA_PKG` if needed). Version comes from
|
||||
`tauri.conf.json`, bumped on every `make dmg`. Without `GITEA_TOKEN` the publish
|
||||
step is skipped (server copy still happens).
|
||||
|
||||
## Gitea secrets required
|
||||
|
||||
|
||||
Reference in New Issue
Block a user