TYPO3\Surf\Task\SourceforgeUploadTask

class SourceforgeUploadTask

A task for uploading to sourceforge.

It takes the following options:

  • sourceforgeProjectName - The project name at SourceForge.
  • sourceforgeUserName - The user name to log in at SourceForge.
  • sourceforgePackageName - The package name of the package that shouldd be uploaded.
  • version - The version of the project.
  • files - An array with files to upload to SourceForge.
Example:
$workflow
->setTaskOptions(‘TYPO3SurfTaskSourceforgeUploadTask’, [

‘sourceforgeProjectName’ => ‘enterprise’, ‘sourceforgeUserName’ => ‘picard’, ‘sourceforgePackageName’ => ‘nextGeneration’, ‘version’ => ‘1.0.0’, ‘files’ => [

‘/var/borg’, ‘/var/q’, ‘/var/data’

]

]

);

property shell

protected ShellCommandService

execute(Node $node, Application $application, Deployment $deployment, $options = [])

Execute this task

Parameters:
simulate(Node $node, Application $application, Deployment $deployment, $options = [])

Simulate this task

Parameters:
resolveOptions(OptionsResolver $resolver)
Parameters:
  • $resolver (OptionsResolver) –
setShellCommandService(ShellCommandService $shellCommandService)
Parameters:
rollback(Node $node, Application $application, Deployment $deployment, $options = [])

Rollback this task

Parameters:
configureOptions($options = [])
Parameters:
  • $options (array) –
Returns:

array