Skip to content

[TASK] Enable Chocolatey package auto-update on release #247

@sergio-sisternes-epam

Description

@sergio-sisternes-epam

Summary

Enable the Chocolatey package auto-update job in the release workflow so that apm is installable via choco install apm on Windows.

Current State

The release workflow already contains a fully scaffolded update-chocolatey job:

  • File: .github/workflows/build-release.yml
  • Job definition: starts at line 692
  • Disabled guard to remove: line 700 — if: false && github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
  • Target repo: microsoft/chocolatey-apm (needs to be created)

The job dispatches a repository_dispatch event to the Chocolatey package repo with the version and download URL.

Tasks

  • Create the microsoft/chocolatey-apm Chocolatey package repository with the nuspec and install script
  • Register the package on chocolatey.org (or use an internal feed)
  • Remove the false && guard from line 700 in build-release.yml
  • Test the end-to-end flow: tag a release -> Chocolatey package updated -> choco install apm works
  • Update install instructions in README.md and docs/getting-started.md

Related

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions