Packagist没有从GitHub获得我的新版本 [英] Packagist is not picking up my new release from GitHub

查看:130
本文介绍了Packagist没有从GitHub获得我的新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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.

关于此程序包:

https://packagist.org/packages/jeroennoten/laravel-adminlte

https://github.com/JeroenNoten/Laravel-AdminLTE

我做错了吗?

推荐答案

请注意,您的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:


标记/版本名称应与 XYZ或 vX.Y.Z匹配,并带有用于RC,beta,alpha或补丁程序版本的可选后缀。以下是有效标签名称的一些示例:

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


对于版本 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获得我的新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆