drupal composer 回滾指定版本
阿新 • • 發佈:2020-10-14
https://www.drupal.org/project/akamai/releases/8.x-3.0-alpha7
akamai 模組 可見已經有了很多歷史版本:
- 8.x-3.0-alpha8-22 July 2020
- 8.x-3.0-alpha7-30 March 2020
- 8.x-3.0-alpha6-15 January 2020
- 8.x-3.0-alpha5-30 July 2019
- 8.x-3.0-alpha4-9 May 2019
- 8.x-3.0-alpha3-27 January 2019
- 8.x-3.0-alpha2-30 July 2018
- 8.x-3.0-alpha1-1 April 2016
- 8.x-3.x-dev-2 March 2016
其中找兩個列子說明
1----------------------------------------------------------------------------------
akamai 8.x-3.0-alpha7
Downloadtar.gz48.8 KB Downloadzip87.09 KB Install with Composer:$ composer require 'drupal/akamai:^3.0'
Using Composer to manage Drupal site dependencies Requires Drupal: ^8 || ^9 2-----------------------------------------------------------------------------------
akamai 8.x-3.0-alpha8
$ composer require 'drupal/akamai:^3.0'
Using Composer to manage Drupal site dependencies Requires Drupal: ^8.8 || ^9 -------------------------------------分割線------------------------------------ 可見依賴的core不同,但是require相同的命令,那麼當你的版本在8.8以下,如何使用alpha7的版本呢 使用如下命令,會清楚掉尷尬: composer require drupal/akamai:3.0-alpha7@alpha 祝好運!