Skip to content

ci: build RPM packages and submit winget manifests on release - #2416

Open
rustatian wants to merge 3 commits into
masterfrom
ci/rpm-winget
Open

rustatian wants to merge 3 commits into
masterfrom
ci/rpm-winget

Conversation

@rustatian

Copy link
Copy Markdown
Member

Reason for This PR

Issue #1685: provide packages for the OS package managers. Debian packages and Homebrew exist already. This PR adds RPM packages and winget.

Description of Changes

  • release_rpm.yml builds roadrunner-<version>-linux-{amd64,arm64}.rpm with nfpm from the new nfpm.yaml and uploads them to the release. A prerelease tag becomes 3.1.0~rc.1, which rpm orders before 3.1.0.
  • release.yml gets a winget job that runs after the binary builds on stable releases and submits the new version to microsoft/winget-pkgs with Microsoft's wingetcreate. It needs the WINGET_TOKEN repository secret: a classic PAT with the public_repo scope, see the token docs.
  • README: RPM and winget install sections, and the release process paragraph.

nfpm is the GoReleaser packager. It builds the RPM for both architectures on one ubuntu-latest job without rpmbuild macros for prebuilt binaries.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

PR Checklist

  • All commits in this PR are signed (git commit -s).
  • The reason for this PR is clearly provided (issue no. or explanation).
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • Any user-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.

Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 11, 2026 08:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rustatian rustatian self-assigned this Oct 11, 2026
@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 33.24%. Comparing base (276619c) to head (6c5f6e7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2416      +/-   ##
==========================================
- Coverage   34.42%   33.24%   -1.18%     
==========================================
  Files          18       18              
  Lines         761      788      +27     
==========================================
  Hits          262      262              
- Misses        499      526      +27     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

2 participants