Closed jorgetutor closed 1 month ago
It would be a great feature to create the destiny branch in the artifact repository when it does not exist.
Now the script clones the destiny branch by default
$this->runCommand(sprintf('git clone %s %s -b %s', $this->repository, self::ARTIFACT_REPOSITORY_FOLDER, $this->branch));
We will need to:
With this command we can check if a branch exist or not:
git rev-parse --verify <branch-name>
It would be a great feature to create the destiny branch in the artifact repository when it does not exist.
Now the script clones the destiny branch by default
$this->runCommand(sprintf('git clone %s %s -b %s', $this->repository, self::ARTIFACT_REPOSITORY_FOLDER, $this->branch));
We will need to: