Full interactive terminal via SwiftTerm, About sheet, English docs
This commit is contained in:
+29
-23
@@ -1,41 +1,47 @@
|
||||
# Releasing
|
||||
|
||||
## Lokal bauen
|
||||
## Build locally
|
||||
```bash
|
||||
./scripts/build-release.sh [version] # ZIP mit Binary + Docs
|
||||
./scripts/build-app.sh [version] # RemminaMac.app (Bundle, ad-hoc-signiert, mit Icon)
|
||||
./scripts/build-dmg.sh [version] # DMG mit App + Programme-Link
|
||||
./scripts/generate-icon.sh # AppIcon.icns neu rendern (Dracula-Terminal)
|
||||
# Beispiel:
|
||||
./scripts/build-release.sh 0.1.0
|
||||
./scripts/build-app.sh 0.1.0
|
||||
./scripts/build-dmg.sh 0.1.0
|
||||
./scripts/build-release.sh [version] # ZIP with binary + docs
|
||||
./scripts/build-app.sh [version] # RemminaMac.app (bundle, ad-hoc signed, icon + ctty-run)
|
||||
./scripts/build-dmg.sh [version] # DMG with app + Applications link
|
||||
./scripts/generate-icon.sh # re-render AppIcon.icns (Dracula terminal)
|
||||
# Example:
|
||||
./scripts/build-release.sh 0.7.0
|
||||
./scripts/build-app.sh 0.7.0
|
||||
./scripts/build-dmg.sh 0.7.0
|
||||
# Output:
|
||||
# dist/RemminaMac-0.1.0-macos-arm64.zip (+ .sha256)
|
||||
# dist/RemminaMac.app/
|
||||
# dist/RemminaMac-0.1.0-macos-arm64.dmg (+ .sha256)
|
||||
# dist/RemminaMac-0.7.0-macos-arm64.zip (+ .sha256)
|
||||
# dist/RemminaMac.app/ (with ctty-run helper + icon)
|
||||
# dist/RemminaMac-0.7.0-macos-arm64.dmg (+ .sha256)
|
||||
```
|
||||
|
||||
## Was das Skript macht
|
||||
1. `swift build -c release`
|
||||
2. Binary nach `dist/RemminaMac-<ver>-macos-arm64/` kopieren
|
||||
3. `README.md` + `docs/` + `LICENSE` dazulegen
|
||||
4. ZIP + SHA256 erzeugen
|
||||
Bump `AppInfo.version` in `Views/AboutView.swift` with each release.
|
||||
|
||||
## Gitea-Release erstellen
|
||||
## What the scripts do
|
||||
1. `swift build -c release` (builds both `RemminaMac` and `ctty-run`)
|
||||
2. Copy binaries into `dist/RemminaMac-<ver>-macos-arm64/`
|
||||
3. Add `README.md` + `docs/` + `LICENSE`
|
||||
4. ZIP + SHA256
|
||||
|
||||
`build-app.sh` also copies `AppIcon.icns` and `ctty-run` into the bundle and
|
||||
signs ad-hoc (`codesign --deep`). `build-dmg.sh` creates the drag-and-drop DMG
|
||||
via `hdiutil` (no extra tools).
|
||||
|
||||
## Publish a Gitea release
|
||||
```bash
|
||||
export GITEA_HOST="https://git.sysdaemon.xyz"
|
||||
export GITEA_OWNER="<owner>"
|
||||
export GITEA_REPO="remmina-mac"
|
||||
export GITEA_TOKEN="<token>" # statt Passwort: User → Settings → Applications → Token
|
||||
export VERSION="0.1.0"
|
||||
export GITEA_TOKEN="<token>" # not password: user → Settings → Applications → token
|
||||
export VERSION="0.7.0"
|
||||
./scripts/publish-gitea-release.sh
|
||||
```
|
||||
Das Skript erstellt (falls nötig) das Release `v0.1.0` und lädt ZIP + SHA256 als Attachments hoch.
|
||||
The script creates the release (if needed) and uploads ZIP + SHA256 as attachments.
|
||||
|
||||
## Manuell via API
|
||||
## Manual API
|
||||
```bash
|
||||
curl -u "user:pass" -H "Content-Type: application/json" \
|
||||
-d '{"tag_name":"v0.1.0","name":"v0.1.0","body":"Erstes Release"}' \
|
||||
-d '{"tag_name":"v0.7.0","name":"v0.7.0","body":"..."}' \
|
||||
"$GITEA_HOST/api/v1/repos/$OWNER/$REPO/releases"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user