Repository navigation
chore: publish releases to Chocolatey and WinGet - #109
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 294a56a023
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
Viktor (tiulpin)
force-pushed
the
tv/chocolatey-winget
branch
from
October 22, 2026 10:11
294a56a to
0fe437e
Compare
Install choco 2.4.3 on mono in the release step, pinned by sha256 like codesign-client, and stop skipping the chocolatey and winget publishers. WinGet manifests go through the tiulpin/winget-pkgs fork, matching teamcity-cli. Adds the YouTrack icon to the Chocolatey package.
Viktor (tiulpin)
force-pushed
the
tv/chocolatey-winget
branch
from
October 22, 2026 10:12
0fe437e to
faba201
Compare
Declare go 1.26.0 like teamcity-cli and let CI pick up the latest 1.26 patch, so stdlib fixes such as GO-2026-6809 no longer need a go.mod bump. Releases build on goreleaser-pro:latest, which tracks current Go.
Viktor (tiulpin)
force-pushed
the
tv/chocolatey-winget
branch
from
October 22, 2026 10:12
faba201 to
c658406
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns on the
chocolateysandwingetpublishers that were already defined in.goreleaser.yamlbut skipped at release time. Also stops pinning the Go patch version, which was what failed CI here.Changes
Publishing to Chocolatey and WinGet (
chore:commit).teamcity.yml:CHOCO_SHA256) the waycodesign-clientis checked, and exportsChocolateyInstallCHOCOLATEY_API_KEYandWINGET_GITHUB_TOKENare setWINGET_FORK_OWNER: tiulpin--skiptoaur,npm.goreleaser.yaml: adds the YouTrackicon_urlto the Chocolatey package and updates the comment about skipped channels.Go version (
fix:commit)go.moddeclaresgo 1.26.0, like teamcity-cli, instead of an exact patch release.go-version: '1.26'withcheck-latest: true, so it always gets the newest 1.26 patch. govulncheck no longer runs on a pinnedGOTOOLCHAIN; that pin is what caused GO-2026-6809 to fail CI.goreleaser-pro:v2.17.0(Go 1.26.4) togoreleaser-pro:latest(currently Go 1.27.1), like teamcity-cli. Without thego.modpin, the image's Go is the toolchain the release is built with.Secrets
These are already on the
YouTrack_CLI_Releasepipeline:env.CHOCOLATEY_API_KEYenv.WINGET_GITHUB_TOKEN: a classic PAT with onlypublic_repo. It needs to push to the fork and open PRs intomicrosoft/winget-pkgs, which fine-grained tokens can't do yet.Verification
teamcity pipeline validate .teamcity.ymlpassesgoreleaser-pro:v2.17.0and:latest: the checksum matches,choco --versionprints2.4.3, andchoco packbuilds a test packagemake checkpasses: fmt-check, lint (0 issues), build and the full E2E suite. One E2E test hit a build-cache glitch on the first run and passed on the re-run.After merge
The first Chocolatey and WinGet submissions go through manual moderation. Install instructions for the README and release footer will follow once both packages are approved.