Composer.json --want=dev-main needed for install

I use recommended composer.json structure:

{
    "name": "acme/boilerplate-theme",
    "type": "october-theme",
    "description": "Enter a meaningful description here",
    "require": {
        "composer/installers": "~1.0"
    }
}

It worked well, but several weeks ago:

the only possibility to install via command line with --want=dev-main parameter.
I have private repository on GIT, main default branch

The same situation is for plugin and theme

Found the problem (thanks to Vojta Svoboda)

It is necessary to have released version on github repository. I released ver.1 (v.1.0.0) and it works now.

It works for plugins, but not for themes. Any Idea?

It depends on the author. Contact the author to ask them to tag their git repos with a semantic version number.

The problem is, that I am the author :wink:

1 Like

Oh. I see. Check out the documentation for advice on tagging releases in git: