Composer composer提交到packages遇到的问题

zachariah · 2020-03-22 00:50:12 · 热度: 49

1、There is no license information available for the latest version (v1.0.0) of this package.

没有允许的协议什么的,在composer.json中添加:

 "license": "MIT"

2、efusing to merge unrelated histories

解决

git pull origin master --allow-unrelated-histories

3、切记一定要打版本号

git tag v1.0.1 // 版本号
git tag -l // 查看有哪些版本号
git push origin --tags // 将所有版本号push到远程仓库

猜你喜欢:
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册