Packagist is not picking up my new release from GitHub

◇◆丶佛笑我妖孽 提交于 2020-08-02 21:16:45

问题


I released a new version of my composer package on GitHub, however it is not updating on Packagist, not even when I manually click 'Update' on the package page. The weird thing is that it does show the latest version of the README file. Also, the last updated time is shown correctly on Packagist.

It is about this package:
https://packagist.org/packages/jeroennoten/laravel-adminlte
https://github.com/JeroenNoten/Laravel-AdminLTE

Am I doing something wrong?


回答1:


Note that your master branch (dev-master) is indeed up-to-date on Packagist (commit 50f874c on both Packagist and GitHub).

However, your latest Git tag v.1.2.1 is incorrectly named. To quote the Packagist documentation:

Tag/version names should match 'X.Y.Z', or 'vX.Y.Z', with an optional suffix for RC, beta, alpha or patch versions. Here are a few examples of valid tag names:

1.0.0
v1.0.0
1.10.5-RC1
v4.4.4beta2
v2.0.0-alpha
v2.0.4-p1

For a version 1.2.1, valid Git tag names would be either 1.2.1 or v1.2.1.



来源:https://stackoverflow.com/questions/36142984/packagist-is-not-picking-up-my-new-release-from-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!