Install packages from custom release assets instead of automated release archive

15 views
Skip to first unread message

David Naber

unread,
Sep 24, 2019, 10:46:38 AM9/24/19
to composer-users
Hello everyone,

is it somehow possible to let composer install packages from custom release assets (on Github) when using the --prefer-dist option? Let's say I create a 1.0.0.zip archive and attach that to the 1.0.0 release at Github as «release asset» and I want to have Composer using this one.

This would be very helpful in order to automate release processes in my case. (I'm distributing WordPress plugins using Composer which works very well but usually they ship with compiled assets that are not under version controll).

David Naber

unread,
Sep 24, 2019, 11:01:53 AM9/24/19
to composer-users
I forgot to mention that it should be possible if I list every package with name, version and URL in the composer.json of every project. But this is not really handy when it comes to updates and thus not what I'm looking for.
Reply all
Reply to author
Forward
0 new messages