Skip to content

Restore rolling release download URL for pict.exe#152

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/fix-new-updates-not-published
Draft

Restore rolling release download URL for pict.exe#152
Copilot wants to merge 4 commits into
mainfrom
copilot/fix-new-updates-not-published

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 16, 2026

https://github.com/microsoft/pict/releases/download/release/pict.exe regressed to 404 because the rolling release alias was no longer maintained as new versioned releases were published. This change reintroduces automated alias maintenance so the legacy direct-download URL keeps resolving to the latest binary.

  • What changed

    • Added a new workflow: .github/workflows/release-download-alias.yml
    • Triggered on release.published (plus workflow_dispatch for manual recovery/backfill)
    • Uses gh CLI to:
      1. download pict.exe from the newly published source tag
      2. delete existing release release/tag (if present)
      3. recreate release and upload pict.exe
  • Behavioral impact

    • Preserves compatibility for consumers that rely on the stable URL pattern:
      • .../releases/download/release/pict.exe
    • Keeps versioned releases (vX.Y.Z) unchanged while maintaining a rolling alias.
on:
  release:
    types: [published]

# ...
gh release download "$SOURCE_TAG" --pattern pict.exe --clobber
gh release delete release --yes --cleanup-tag
gh release create release pict.exe --target "$SOURCE_TAG"

Copilot AI linked an issue May 16, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix issue with latest releases not being accessible Restore rolling release download URL for pict.exe May 16, 2026
Copilot AI requested a review from jaccz May 16, 2026 15:13
Copilot finished work on behalf of jaccz May 16, 2026 15:13
Copy link
Copy Markdown
Member

@jaccz jaccz left a comment

Choose a reason for hiding this comment

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

Why does it only propagate a Linux executable?
Change the download paths to accommodate for Linux, Mac and Windows binaries and propagate them.

@jaccz
Copy link
Copy Markdown
Member

jaccz commented May 16, 2026

@copilot , take a look at the comments and adjust,.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 16, 2026

@copilot , take a look at the comments and adjust,.

Addressed in commit 542fdef with the workflow update to propagate all release binaries/assets into the rolling release alias.

Why does it only propagate a Linux executable?
Change the download paths to accommodate for Linux, Mac and Windows binaries and propagate them.

Updated in commit 542fdef. The workflow now mirrors all assets from the source release (not just pict.exe) by downloading every uploaded asset and re-uploading them to the rolling release alias, so Linux/macOS/Windows binaries are propagated together.

Copilot AI requested a review from jaccz May 16, 2026 15:20
Copilot finished work on behalf of jaccz May 16, 2026 15:20
@jaccz
Copy link
Copy Markdown
Member

jaccz commented May 16, 2026

@copilot, I'd like
releases/download/release/pict.exe to not point to any binary but:
releases/download/release/windows-x64/pict.exe to point to a Windows Intel x64 binary
releases/download/release/windows-arm/pict.exe to point to a Windows ARM binary
releases/download/release/macos/pict.exe to point to a MacOs Apple Silicon binary
releases/download/release/linux-x64/pict.exe to point to a Linux / Ubuntu Intel x64 binary
releases/download/release/linux-arm/pict.exe to point to a Linux / Ubuntu ARM binary

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 16, 2026

@copilot, I'd like
releases/download/release/pict.exe to not point to any binary but:
releases/download/release/windows-x64/pict.exe to point to a Windows Intel x64 binary
...

Implemented in commit 35ccba8. The rolling release workflow now uploads only platform-scoped alias assets with these names: windows-x64/pict.exe, windows-arm/pict.exe, macos/pict.exe, linux-x64/pict.exe, and linux-arm/pict.exe.

Copilot finished work on behalf of jaccz May 16, 2026 17:37
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.

New updates aren't published properly

2 participants