问题描述
我在GitHub上发布了composer软件包的新版本,但是即使在我手动单击软件包页面上的更新时,它也不会在Packagist上进行更新。奇怪的是,它确实显示了README文件的最新版本。另外,上次更新时间正确显示在Packagist上。
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.
关于此程序包:
我做错了吗?
推荐答案
请注意,您的master分支( dev-master
)实际上是Packagist的最新消息(在Packagist和GitHub上都提交 50f874c
)。
Note that your master branch (dev-master
) is indeed up-to-date on Packagist (commit 50f874c
on both Packagist and GitHub).
但是,您最新的Git标签 v.1.2.1
的命名错误。引用:
However, your latest Git tag v.1.2.1
is incorrectly named. To quote the Packagist documentation:
1.0.0
v1.0.0
1.10.5-RC1
v4.4.4beta2
v2.0.0-alpha
v2.0.4-p1
对于版本 1.2.1 ,有效的Git标记名称应为 1.2.1
或 v1.2.1
。
For a version 1.2.1, valid Git tag names would be either 1.2.1
or v1.2.1
.
这篇关于Packagist没有从GitHub获得我的新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!