Skip to content

Add environment-gated release publishing and signing - #4

Merged
Marc-André Moreau (mamoreau-devolutions) merged 3 commits into
masterfrom
mamoreau-devolutions/publish-workflows
Apr 27, 2026
Merged

Marc-André Moreau (mamoreau-devolutions) merged 3 commits into
masterfrom
mamoreau-devolutions/publish-workflows

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • Add publish-test / publish-prod environment selection to the Release workflow via github-env.
  • Gate package/signing and publishing jobs on the selected GitHub environment.
  • Sign Windows Rust release artifacts before upload.
  • Sign C# NuGet and PowerShell module binaries, including bundled module dependencies, before packaging/upload.
  • Switch NuGet publishing to NuGet/login@v1 OIDC and use PSGALLERY_NUGET_API_KEY for PowerShell Gallery publishing.

Validation

@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) merged commit 0796652 into master Apr 27, 2026
16 checks passed
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) deleted the mamoreau-devolutions/publish-workflows branch April 27, 2026 17:28
Marc-André Moreau (mamoreau-devolutions) added a commit that referenced this pull request Nov 8, 2026
…ty, portable registry/directories (Rust + C#)

#4 Pins: null/None = no source filter and "" = the source-less pin in C# PinStore.List/Remove/Reset (as in Rust); pin remove --installed uses the same source key as pin add --installed on both sides; Add/add_pin replace a case-variant id/source row in one transaction (WinGet's pin_index kept).
#6 Source cache paths: validated_source_relative_segments/ValidatedSourceRelativeSegments require Windows-safe segments (is_safe_file_name/IsSafeFileName) and reject '#'; sanitize_path_segment/SanitizePathSegment replace control chars, trim trailing dots/spaces after replacement, and prefix unsafe names with '_' (falling back to '_').
#7 Portable: PingetPortableDirectories drops obsolete directories that the upgrade removed; portable registry read/remove use arp_uninstall_key_candidates/GetArpUninstallKeyCandidates; C# ARP scan no longer reads HKCU WOW6432Node (WinGet's ARPHelper treats HKCU as the shared x64 view, like Rust).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
publish-test — ccd6d7ad Deployed Apr 27, 2026 by mamoreau-devolutions via Rust Artifacts (macos-arm64) #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant