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
Update test server to HTTPS and document OpenUPM publishing
- Update integration test host from phoenix-sharp.level3.io:3080 to
phoenix-sharp.level3.io with wss:// and https:// protocols
- Document OpenUPM release flow and Unity package in CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-**src/PhoenixSharp.Unity/** - Unity package project (published to OpenUPM as `io.level3.phoenixsharp`)
35
36
36
-
## NuGet Package
37
+
## Publishing
37
38
38
-
The library is published to NuGet.org as `PhoenixSharp`.
39
+
The library is distributed via two channels: **NuGet** (`PhoenixSharp`) and **OpenUPM** (`io.level3.phoenixsharp`). Both are published from a single trigger.
39
40
40
-
**Publishing:** Handled automatically via GitHub Actions trusted publishing. To release:
41
-
1. Create a GitHub release with a version tag (e.g., `v1.0.3`)
42
-
2. The `publish.yml` workflow builds and pushes to NuGet.org
41
+
**To release:**
42
+
1. Create a GitHub release with a version tag (e.g., `v1.2.3`)
43
+
2. The `publish.yml` workflow:
44
+
- Updates the Unity `package.json` version at `src/PhoenixSharp.Unity/Assets/Plugins/PhoenixSharp/package.json`
45
+
- Updates the README manifest example
46
+
- Commits and pushes the version bump back to `master`
47
+
- Builds and pushes the NuGet package via trusted publishing (OIDC)
48
+
3. OpenUPM automatically detects the new git tag and publishes the Unity package from the `package.json`
43
49
44
50
**Version management:** Version is set via git tag at release time. The `<Version>` in `Phoenix.csproj` is a fallback for local builds.
45
51
@@ -94,7 +100,7 @@ The library decouples from specific implementations via interfaces:
94
100
95
101
Integration tests require a running Phoenix server. The test host is configured in `IntegrationTests.cs`:
0 commit comments