Skip to content

Commit 050e15f

Browse files
committed
ci: update script to special case for beta typing versioning
1 parent 50eae12 commit 050e15f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/create-pull-request.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@ if (($env:GeneratePullRequest -eq $False)) { # Skip CI if manually running this
99
return;
1010
}
1111

12+
# Special case for beta typings as it uses a non-conforming preview versioning.
13+
if ($env:RepoName.Contains("msgraph-beta-typescript-typings"))
14+
{
15+
$title = "feat: generated $version models and request builders"
16+
}
17+
else {
18+
$title = "Generated $version models and request builders"
19+
}
20+
1221
$version = $env:Version
13-
$title = "Generated $version models and request builders"
1422
$body = ":bangbang:**_Important_**:bangbang: <br> Check for unexpected deletions or changes in this PR and ensure relevant CI checks are passing. <br><br> **Note:** This pull request was automatically created by Azure pipelines."
1523
$baseBranchParameter = ""
1624

0 commit comments

Comments
 (0)