mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
instructions on signing tag on release repo
This commit is contained in:
@ -529,6 +529,12 @@ class ReleaseController extends Controller
|
|||||||
$this->stdout("\n\nThe following steps are left for you to do manually:\n\n");
|
$this->stdout("\n\nThe following steps are left for you to do manually:\n\n");
|
||||||
$nextVersion2 = $this->getNextVersions($nextVersion, self::PATCH); // TODO support other versions
|
$nextVersion2 = $this->getNextVersions($nextVersion, self::PATCH); // TODO support other versions
|
||||||
$this->stdout("- wait for your changes to be propagated to the repo and create a tag $version on https://github.com/yiisoft/yii2-framework\n\n");
|
$this->stdout("- wait for your changes to be propagated to the repo and create a tag $version on https://github.com/yiisoft/yii2-framework\n\n");
|
||||||
|
$this->stdout(" git clone git@github.com:yiisoft/yii2-framework.git\n");
|
||||||
|
$this->stdout(" cd yii2-framework/\n");
|
||||||
|
$this->stdout(" export RELEASECOMMIT=$(git log --oneline |grep $version |grep -Po \"^[0-9a-f]+\")\n");
|
||||||
|
$this->stdout(" git tag -s $version -m \"version $version\" \$RELEASECOMMIT\n");
|
||||||
|
$this->stdout(" git tag --verify $version\n");
|
||||||
|
$this->stdout(" git push --tags\n\n");
|
||||||
$this->stdout("- close the $version milestone on github and open new ones for {$nextVersion['framework']} and {$nextVersion2['framework']}: https://github.com/yiisoft/yii2/milestones\n");
|
$this->stdout("- close the $version milestone on github and open new ones for {$nextVersion['framework']} and {$nextVersion2['framework']}: https://github.com/yiisoft/yii2/milestones\n");
|
||||||
$this->stdout("- create a release on github.\n");
|
$this->stdout("- create a release on github.\n");
|
||||||
$this->stdout("- release news and announcement.\n");
|
$this->stdout("- release news and announcement.\n");
|
||||||
|
@ -63,7 +63,9 @@ class UniqueValidator extends Validator
|
|||||||
*/
|
*/
|
||||||
public $filter;
|
public $filter;
|
||||||
/**
|
/**
|
||||||
* @var string the user-defined error message. When validating single attribute, it may contain
|
* @var string the user-defined error message.
|
||||||
|
*
|
||||||
|
* When validating single attribute, it may contain
|
||||||
* the following placeholders which will be replaced accordingly by the validator:
|
* the following placeholders which will be replaced accordingly by the validator:
|
||||||
*
|
*
|
||||||
* - `{attribute}`: the label of the attribute being validated
|
* - `{attribute}`: the label of the attribute being validated
|
||||||
|
Reference in New Issue
Block a user