Skip to content

migrate: package-template structure + signed release pipeline#4

Merged
IvanMurzak merged 4 commits into
mainfrom
migrate/package-template-structure
May 28, 2026
Merged

migrate: package-template structure + signed release pipeline#4
IvanMurzak merged 4 commits into
mainfrom
migrate/package-template-structure

Conversation

@IvanMurzak

Copy link
Copy Markdown
Owner

Summary

Migrates Unity-AudioLoader onto the Unity-Package-Template structure, matching the validated layout of Unity-Mouse-Parallax and the Unity-NonDrawingGraphic migration.

What changed

  • Source moved into Unity-Package/Assets/root/Runtime/ (6 .cs files, GUIDs preserved); editor tests moved into Unity-Package/Assets/root/Tests/Editor/.
  • asmdefs replaced with template Runtime/Editor/Tests asmdefs. Runtime references UniTask, rootNamespace: Extensions.Unity.AudioLoader, excludePlatforms: [] (fixed the template default bug). Editor.Tests references UniTask for the Cysharp-based tests.
  • package.json: version kept at 1.0.4; dependency com.cysharp.unitask: 2.3.3; scoped registry scopes com.cysharp, extensions.unity.
  • Installer project added — PackageIds = [extensions.unity, com.cysharp], Version = 1.0.4; manifest-convergence test fixtures realigned to that scope order.
  • Unity-Tests harness (2022.3.62f3 / 2023.2.22f1 / 6000.3.1f1) and CI workflows (release, test_pull_request, test_unity_plugin) added.
  • Legacy _PackageRoot/, Commands/, and root Unity project files removed. LICENSE copyright year preserved (2023).

Compile validation

Built locally in Unity 2022.3.62f3 batchmode:

  • Installer project: 0 error CS.
  • Unity-Package project: 0 error CSextensions.unity.audioloader.Runtime.dll compiled, UniTask resolved from OpenUPM (com.cysharp.unitask@2.3.3).

Human follow-ups before release

  • Add repo secrets: UNITY_EMAIL, UNITY_PASSWORD (UNITY_LICENSE already set), and UPM_ORG_ID, UPM_SERVICE_ACCOUNT_KEY_ID, UPM_SERVICE_ACCOUNT_KEY_SECRET.
  • One-time OpenUPM namespace claim for extensions.unity.audioloader.
  • Bump + release via commands/bump-version.ps1 → GitHub release.
  • Set OpenUPM trackingModegithubRelease.

🤖 Generated with Claude Code

IvanMurzak and others added 4 commits May 27, 2026 13:15
Restructure the repository onto Unity-Package-Template:
- Move runtime source into Unity-Package/Assets/root/Runtime/ and editor
  tests into Tests/Editor/, preserving .cs.meta GUIDs.
- Replace legacy asmdefs with template Runtime/Editor/Tests asmdefs;
  Runtime references UniTask, rootNamespace Extensions.Unity.AudioLoader,
  excludePlatforms fixed to [].
- package.json: keep v1.0.4, scopes com.cysharp + extensions.unity,
  dependency com.cysharp.unitask 2.3.3.
- Add Installer project (PackageIds: extensions.unity, com.cysharp;
  version 1.0.4) with converging manifest tests.
- Add Unity-Tests harness (2022.3.62f3 / 2023.2.22f1 / 6000.3.1f1) and
  CI workflows (release, test_pull_request, test_unity_plugin).
- Remove legacy _PackageRoot / Commands / root project files.

Unity-Package compiles with 0 errors (UniTask resolved from OpenUPM).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@IvanMurzak IvanMurzak marked this pull request as ready for review May 28, 2026 06:11
@IvanMurzak IvanMurzak merged commit 1232696 into main May 28, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant