You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/create-pull-request.ps1
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,17 @@ if (($env:GeneratePullRequest -eq $False)) { # Skip CI if manually running this
11
11
12
12
$version=$env:Version
13
13
14
-
# Special case for beta typings as it uses a non-conforming preview versioning.
15
-
if ($env:RepoName.Contains("msgraph-beta-typescript-typings"))
14
+
if ($version-ne'')
16
15
{
17
-
$title="feat: generated $version models and request builders"
16
+
# Special case for beta typings as it uses a non-conforming preview versioning. Helps with triggering Release Please.
17
+
if ($env:RepoName.Contains("msgraph-beta-typescript-typings"))
18
+
{
19
+
$title="feat: generated $version models and request builders"
20
+
}
21
+
else {
22
+
$title="Generated $version models and request builders"
23
+
}
18
24
}
19
-
else {
20
-
$title="Generated $version models and request builders"
21
-
}
22
-
23
25
$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."
0 commit comments