Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide version independent URL to latest phar #43

Open
fbatschi opened this issue Dec 10, 2014 · 2 comments
Open

Provide version independent URL to latest phar #43

fbatschi opened this issue Dec 10, 2014 · 2 comments

Comments

@fbatschi
Copy link

Currently there seems to be no version independent URL for the latest phar release. You have to go to "releases" and select the latest version and receive something like https://github.com/Mayflower/PHP_CodeBrowser/releases/download/1.1.1/phpcb-1.1.1.phar

Other tools like phpunit provide a unique URL which always points to the latest release, like
https://phar.phpunit.de/phpunit.phar

This would give the possibility in certain scenarios (that do not use composer) to receive the latest phar release of PHP CodeBrowser.

@jdespatis
Copy link

+1
any news on this?

@calbrecht
Copy link
Member

Unfortunately we are restricted to what github is capable of. That is, one is able to be redirected to the latest release by requesting https://github.com/mayflower/PHP_CodeBrowser/releases/latest but this url cannot be extended to fetch an attached binary.
The phpunit pharchive is selfhosted and not distributed by github.

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

No branches or pull requests

3 participants