RemminaMac 0.1.0: SSH/RDP-Client für macOS (SwiftUI, Remmina-Layout, Profile, SSH-Keys, Docs, Release-Skripte)
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Releasing
|
||||
|
||||
## Lokal bauen
|
||||
```bash
|
||||
./scripts/build-release.sh [version]
|
||||
# Beispiel:
|
||||
./scripts/build-release.sh 0.1.0
|
||||
# Output:
|
||||
# dist/RemminaMac-0.1.0-macos-arm64.zip
|
||||
# dist/RemminaMac-0.1.0-macos-arm64.zip.sha256
|
||||
# dist/RemminaMac-0.1.0-macos-arm64/RemminaMac (Binary)
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
## Gitea-Release erstellen
|
||||
```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"
|
||||
./scripts/publish-gitea-release.sh
|
||||
```
|
||||
Das Skript erstellt (falls nötig) das Release `v0.1.0` und lädt ZIP + SHA256 als Attachments hoch.
|
||||
|
||||
## Manuell via API
|
||||
```bash
|
||||
curl -u "user:pass" -H "Content-Type: application/json" \
|
||||
-d '{"tag_name":"v0.1.0","name":"v0.1.0","body":"Erstes Release"}' \
|
||||
"$GITEA_HOST/api/v1/repos/$OWNER/$REPO/releases"
|
||||
```
|
||||
Reference in New Issue
Block a user