You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+91Lines changed: 91 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,3 +35,94 @@ Use `PITTERM_ENVIRONMENT=Development` to load `appsettings.Development.json`.
35
35
```bash
36
36
dotnet test
37
37
```
38
+
39
+
## Release Packaging (Cross-Platform)
40
+
41
+
PitTerm can be packaged as self-contained binaries for Linux, macOS, and Windows.
42
+
43
+
### Build release artifacts (macOS/Linux)
44
+
45
+
```bash
46
+
./scripts/release.sh 0.1.0
47
+
```
48
+
49
+
### Build release artifacts (PowerShell)
50
+
51
+
```powershell
52
+
./scripts/release.ps1 -Version 0.1.0
53
+
```
54
+
55
+
Both scripts publish for:
56
+
57
+
-`linux-x64`
58
+
-`linux-arm64`
59
+
-`osx-x64`
60
+
-`osx-arm64`
61
+
-`win-x64`
62
+
63
+
Output locations:
64
+
65
+
- Raw publish output: `artifacts/publish/<rid>/`
66
+
- Release archives: `artifacts/packages/`
67
+
68
+
Archive format:
69
+
70
+
- Windows: `.zip`
71
+
- Linux/macOS: `.tar.gz`
72
+
73
+
### Manual publish example
74
+
75
+
```bash
76
+
dotnet publish src/F1Tui/F1Tui.csproj \
77
+
-c Release \
78
+
-r osx-arm64 \
79
+
--self-contained true \
80
+
-p:PublishSingleFile=true \
81
+
-p:IncludeNativeLibrariesForSelfExtract=true \
82
+
-o artifacts/publish/osx-arm64
83
+
```
84
+
85
+
### Terminal support notes
86
+
87
+
Recommended terminals:
88
+
89
+
- macOS: iTerm2, kitty, alacritty
90
+
- Linux: kitty, alacritty, GNOME Terminal
91
+
- Windows: Windows Terminal (PowerShell or pwsh shell)
92
+
93
+
If rendering appears odd, switch to Windows Terminal or a modern VT-compatible emulator.
94
+
95
+
## Installation (One-Liner)
96
+
97
+
You can continue creating GitHub Releases manually (recommended if you want custom release notes/comments), then let users install from release assets.
0 commit comments