当前,2.x新版本发布的流程,主要以下。
重要的信息
PhalApi 2.x Kernal核心包(底层代码在这里):https://github.com/phalapi/kernal
PhalApi 2.x 项目(直接可用于开发的项目):https://github.com/phalapi/phalapi
第1步、修改更新日志
文档展现页面:http://docs.phalapi.net/#/v2.0/changelog
对应编辑的代码位置在(码云):https://gitee.com/dogstar/phal ... og.md
第2步、对Kernal包进行版本升级
修改核心代码composer包,即Kernal包,Github项目地址:https://github.com/phalapi/kernal
发布前,须要修改新版本的版本号。修改源文件:https://github.com/phalapi/ker ... s.php
而后,把框架版本号PHALAPI_VERSION进行更新。php
/** * 框架版本号 */ defined('PHALAPI_VERSION') || define('PHALAPI_VERSION', '2.4.2');
最后,在Github项目建立一个新的版本发布:https://github.com/phalapi/kernal/releaseshtml
$ composer update
一样,在Github项目建立一个新的版本发布:https://github.com/phalapi/phalapi/releases ,注意,版本应该与Kernal的保持一致,避免混淆。更新内容也同样。git
// 两个系列版本 $lastestVersion = substr($version, 0, 1) == '1' ? '1.4.1' : ' 2.4.0';
效果相似这样:
第6步,在社区发布版本更新公告github