finops-toolkit icon indicating copy to clipboard operation
finops-toolkit copied to clipboard

Fix broken finops-hub-copilot.zip download link in AI configuration docs

Open Copilot opened this issue 6 months ago • 1 comments

The AI configuration documentation for FinOps hubs contained broken download links that prevented users from accessing the GitHub Copilot instructions. The issue occurred because:

  1. Documentation links pointed to finops-hub-copilot.zip (unversioned filename)
  2. Recent releases (v12+) only contained finops-hub-copilot-v12.zip (versioned filename)
  3. GitHub's /releases/latest/download/ redirect failed due to filename mismatch

This resulted in 404 errors when users tried to download the AI instructions from the Configure AI documentation.

Solution

Modified the packaging script (Package-Toolkit.ps1) to create both versioned and unversioned ZIP files specifically for the finops-hub-copilot template:

  • finops-hub-copilot-v12.0.zip (versioned, maintains consistency with other templates)
  • finops-hub-copilot.zip (unversioned, enables stable documentation links)

The fix is minimal and surgical - only the finops-hub-copilot template receives this special handling. Other templates continue to use versioned filenames only, maintaining the existing release structure.

Testing

  • ✅ Build and package processes work correctly
  • ✅ Both files are created with identical contents
  • ✅ No impact on other templates
  • ✅ Documentation links will work in future releases

Fixes #1803.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot avatar Aug 21 '25 15:08 Copilot

@@Copilot: you have some new feedback!

Please review and resolve all comments and I'll let reviewers know by removing the Needs: Attention label. If I miss anything, just reply with #needs-review and I'll update the status.