Skip to content

NuGet packaging, GitHub Actions CI/CD, and release workflow #11

Description

@markdav-is

Summary

Set up NuGet packaging, CI/CD pipeline, and release workflow so the tool can be distributed.

Depends On

  • All implementation phases
  • Testing Suite

Tasks

  • NuGet packaging:
    • Finalize .csproj metadata (authors, description, tags, license, repo URL)
    • dotnet pack -c Release produces valid .nupkg
    • Test local install: dotnet tool install --global --add-source ./nupkg MarkDav.Oqtane.Cli
  • GitHub Actions CI:
    • Build on push/PR to main
    • Run dotnet test on Windows, Linux, macOS
    • Pack and upload artifact
  • Release workflow:
    • Tag-based release trigger (e.g., v1.0.0)
    • Publish .nupkg to NuGet.org
    • Create GitHub Release with notes
  • Versioning:
    • Semantic versioning (1.0.x for Oqtane 10.0.x)
    • Version set in .csproj or via CI

Acceptance Criteria

  • dotnet pack produces installable global tool
  • CI builds and tests pass on all three platforms
  • Tagged releases auto-publish to NuGet.org
  • README has install instructions

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions