Intune / CLIIntune / CLI

RelayPublisher

Intune へwingetのようなYAML定義だけでデプロイDeploy to Intune with nothing but winget-style YAML definitions

winget 風の YAML manifest を CI から Microsoft Intune の LOB アプリとして公開するためのツールです。GitHub Actions と Azure Pipelines の workflow 例を用意しています。Publishes winget-like YAML manifests as Microsoft Intune LOB apps from CI, with workflow samples for GitHub Actions and Azure Pipelines.

RelayPublisher

主な機能Features

validate — manifest の検証validate — check manifests

manifest schema と repository 全体の identity 一意性を検証します。Checks schema rules and repository-wide identity uniqueness.

plan — 対象の確定plan — resolve targets

対象 manifest set を一度だけ確定し、後続 CI job 用の manifest-list.json を書き出します。Resolves changed manifests once and writes manifest-list.json for later CI jobs.

package — stagingpackage — stage packages

Windows Win32 は .intunewin package を Windows 上で生成し、macOS は checksum 検証済みの .pkg を staging します(OS 不問)。Stages Windows .intunewin packages or checksum-verified macOS .pkg files.

publish — Intune へ公開publish — publish to Intune

Intune app の作成・更新、package content upload、app category 同期、assignment 同期を行います。Creates or updates Intune apps, uploads content, and reconciles categories and assignments.

インストール手順Installation

  1. .NET global tool としてインストールInstall as a .NET global tool
    dotnet tool install --global relaypublisher
  2. Apple silicon の macOS では Homebrew も使えますOn macOS (Apple silicon), Homebrew works too
    brew tap kkamegawa/tap
    brew trust --tap kkamegawa/tap
    brew install relaypublisher
  3. 基本 CLI フロー(bash の場合も同じコマンドを使えます)Basic flow
    relaypublisher plan --base-ref <base-ref> --output manifest-list.json
    relaypublisher validate --manifest-list manifest-list.json
    relaypublisher package --manifest-list manifest-list.json --output ./out
    relaypublisher publish --manifest-list manifest-list.json --package-dir ./out --expected-tenant <tenant-id>

更新履歴Changelog

リリースごとの変更内容は GitHub Releases に掲載しています。Release notes for each version are on GitHub Releases. Releases ↗