Skip to content

CLI-1484: Ignore non-phar release assets#37

Merged
danepowell merged 2 commits intoconsolidation:mainfrom
danepowell:CLI-1484
Oct 29, 2025
Merged

CLI-1484: Ignore non-phar release assets#37
danepowell merged 2 commits intoconsolidation:mainfrom
danepowell:CLI-1484

Conversation

@danepowell
Copy link
Collaborator

Acquia CLI is going to start release native binaries in addition to phar assets for its releases. This is problematic because the self-updater doesn't currently consider the asset type before blindly attempting to update to it.

This PR fixes that by ensuring only assets with a phar file extension are downloaded.

@danepowell
Copy link
Collaborator Author

I guess not everyone uses a phar extension, I'm checking for octet stream instead; this at least allows us to upload non-phar assets as zipped binaries.

@danepowell danepowell merged commit 3dfcb56 into consolidation:main Oct 29, 2025
1 check passed
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.

1 participant