Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
TomKovac committed Dec 12, 2024
1 parent 4b65b22 commit c0090b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/create_issue_branch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ if ([int]::TryParse($value, [ref]$null)) {
Write-Output "Pushing the branch to remote"
git push -u origin $(git branch --show-current)
Write-Output "Creating a draft pull request into 'dev'"
gh pr create --base dev --head $(git branch --show-current) --title "closes $selectedIssueTitle" --body "closes #$selectedIssueNumber" --draft
gh pr create --base dev --head $(git branch --show-current) --title "$selectedIssueTitle" --body "closes #$selectedIssueNumber" --draft
git commit -m "Create draft PR for #$selectedIssueNumber"
git push
Write-Output "Sync local and remote branches"
git pull origin $(git branch --show-current)
} else {
Expand Down

0 comments on commit c0090b0

Please sign in to comment.