mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-26 10:07:30 +00:00
Fix references to the CMS staging branch
This commit is contained in:
parent
dffe7c53c3
commit
d42f2227d7
@ -221,7 +221,7 @@ skipClone = false
|
||||
cmsPath = tests/joomla-cms3
|
||||
|
||||
; If you want to clone a different branch, you can set it here
|
||||
branch = staging
|
||||
branch = 3.10-dev
|
||||
|
||||
; (Linux / Mac only) If you want to set a different owner for the CMS root folder, you can set it here.
|
||||
localUser =
|
||||
@ -264,7 +264,7 @@ The currently available options are as follows:
|
||||
|
||||
* `skipClone`: set to `true` to avoid the cms repo being deleted and re-cloned at each test execution. Useful to save time and bandwidth while you're debugging your test environment. But please be aware that if you don't refresh the repo you'll have to manually check the `installation` folder is present and the `configuration.php` is not.
|
||||
* `cmsPath`: set to the local path (absolute or relative) where you'd like the test website to be installed. Default is `tests/joomla-cms3`.
|
||||
* `branch`: set to whatever existing branch from the `joomla-cms` project if you want to clone that specific branch. Default is `staging`.
|
||||
* `branch`: set to whatever existing branch from the `joomla-cms` project if you want to clone that specific branch. Default is `3.10-dev`.
|
||||
|
||||
## Additional options
|
||||
|
||||
|
@ -7,7 +7,7 @@ skipClone = false
|
||||
cmsPath = tests/joomla
|
||||
|
||||
; If you want to clone a different branch, you can set it here
|
||||
branch = staging
|
||||
branch = 3.10-dev
|
||||
|
||||
; (Linux / Mac only) If you want to set a different owner for the CMS root folder, you can set it here.
|
||||
localUser = www-data
|
||||
|
@ -398,7 +398,7 @@ class RoboFile extends Tasks
|
||||
*/
|
||||
private function buildGitCloneCommand()
|
||||
{
|
||||
$branch = empty($this->configuration->branch) ? 'staging' : $this->configuration->branch;
|
||||
$branch = empty($this->configuration->branch) ? '3.10-dev' : $this->configuration->branch;
|
||||
|
||||
return "git" . $this->executableExtension . " clone -b $branch --single-branch --depth 1 https://github.com/joomla/joomla-cms.git tests/cache";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user