Skip to content

Commit

Permalink
9.4.24
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish authored Jul 5, 2023
2 parents 59a0551 + d98fe8b commit 8752db5
Show file tree
Hide file tree
Showing 8 changed files with 399 additions and 387 deletions.
20 changes: 10 additions & 10 deletions blt/src/Blt/Plugin/Commands/HsCircleCiCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,20 @@ public function jobNewReleaseBranch(string $last_version) {
$this->setVersions($new_version);

$new_branch = "$new_version-release";
// Create the new release branch in github.
$this->taskGitStack()
->checkout("-b $new_branch")
->run();
$message = "$new_version Release" . PHP_EOL . PHP_EOL . '# DO NOT DELETE';

// Create the new release branch in Github.
$tasks[] = $this->taskGitStack()
->checkout("-b $new_branch");

$this->taskGitStack()
$tasks[] = $this->taskGitStack()
->add('-A')
->commit("$new_version")
->push('origin', $new_branch)
->run();
->push('origin', $new_branch);
$tasks[] = $this->taskExec("gh pr create -B develop -b '$message' -f");
$tasks[] = $this->blt()->arg('deploy');

$message = "$new_version Release" . PHP_EOL . PHP_EOL . '# DO NOT DELETE';
$this->taskExec("gh pr create -B develop -b '$message' -f")
->run();
$this->collectionBuilder()->addTaskList($tasks)->run();
}

/**
Expand Down
Loading

0 comments on commit 8752db5

Please sign in to comment.