Skip to content

Include git ref in website download zip name#2339

Open
C85297 wants to merge 3 commits intogchq:masterfrom
C85297:2081-ref-in-release-file
Open

Include git ref in website download zip name#2339
C85297 wants to merge 3 commits intogchq:masterfrom
C85297:2081-ref-in-release-file

Conversation

@C85297
Copy link
Copy Markdown
Member

@C85297 C85297 commented Apr 27, 2026

Description
Currently the file available from the "Download CyberChef" button on the website includes the version of the latest CyberChef release. This is often inaccurate, as if the website was generated from new commits after a release, the zip will include those changes, and will not match the GitHub release contents.

This change includes the commit ref in the zip file to make clear its source.

Existing Issue
Closes #2081

AI disclosure
GPT 5.5

Test Coverage
Functionality covered by existing tests

@GCHQDeveloper581
Copy link
Copy Markdown
Contributor

I'm not sure if this is just because the interim builds are done differently, but if I download the build artefact for this PR from https://github.com/gchq/CyberChef/pull/2339/checks, unzip (twice) and serve it up (eg using python3 -m http.server) then the download page looks like this
Screenshot 2026-05-01 at 12 59 48

(note placeholder for hash)

@C85297
Copy link
Copy Markdown
Member Author

C85297 commented May 5, 2026

@GCHQDeveloper581 that is odd... Could it be this? https://github.com/orgs/community/discussions/26325#discussioncomment-3251462
In which case, it should work as expected outside of merge requests. Maybe there's a better way to approach this though?

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.

Release on github is different from downloads on the website

2 participants