配布
ABGのrelease artifactはrepositoryからbuildされ、アプリ、CLI、browser extension向けに公開されます。
public download pageでは、現在のartifactを /downloads/ 配下で提供します。
Homebrew cask
Section titled “Homebrew cask”macOS caskは次をインストールします。
Agent Browser Gateway.appを/Applicationsに配置abgをHomebrewのbinに配置
install test:
brew tap arcmanagement/agent-browser-gateway https://github.com/arcmanagement/agent-browser-gatewaybrew trust --cask arcmanagement/agent-browser-gateway/agent-browser-gatewaybrew install --cask agent-browser-gatewayHomebrew が Not upgrading agent-browser-gateway, the latest version is already installed と表示する場合、
cask はすでにインストール済みです。ABG の状態は brew info --cask agent-browser-gateway または
abg --help で確認できます。無関係な tap の trust warning が表示されることもありますが、その警告は
ABG cask の install 結果とは別です。
Homebrew releaseの準備完了条件は、versioned macOS ZIPが
https://agent-browser-gateway.com/downloads/ に公開され、このrepositoryの
Casks/agent-browser-gateway.rb がそのversionとSHA-256を指していることです。
WinGet
Section titled “WinGet”Windows package identifier:
winget install --id ArcManagement.AgentBrowserGateway --source winget現在の v0.4.1 では、このpackageはまだWinGetにindexされていません。上のcommandがmatching packageなしを
返す場合、それはsigned Windows release workflowとWinGet submissionが完了するまでの想定動作です。
WinGet releaseの準備完了条件は、public Windows setup ZIPが /downloads/ に公開され、そこから生成された
microsoft/winget-pkgs PRがmergeされ、indexされることです。
Signed local release build
Section titled “Signed local release build”maintainer release buildは信頼済みMac上で作成します。
export VERSION=0.4.1make dist VERSION="$VERSION" \ SIGN_IDENTITY="Developer ID Application: ArcManagement Inc (M46W5MVAQP)" \ NOTARY_PROFILE="abg-notary"Developer ID signingはlocalに保持します。Developer ID private key、certificate password、App Store Connect
credentials、notarytool credentialsをGitHub Actions secretsに入れないでください。
artifact verification
Section titled “artifact verification”codesign --verify --strict --verbose=2 \ "dist/agent-browser-gateway-$VERSION-macos-arm64/Agent Browser Gateway.app"codesign --verify --strict --verbose=2 \ "dist/agent-browser-gateway-$VERSION-macos-arm64/abg"spctl --assess --type execute --verbose \ "dist/agent-browser-gateway-$VERSION-macos-arm64/Agent Browser Gateway.app"shasum -a 256 \ "dist/agent-browser-gateway-$VERSION-macos-arm64.zip" \ "dist/agent-browser-gateway-extension-$VERSION.zip"CIではunsigned artifactのbuildとtestを実行できます。signed release assetは信頼済みmaintainer Macで作成し、 そのあとpublic download siteへ公開します。