Skip to content

Commit 1e79bbb

Browse files
committed
fix: Revert google-github-actions/release-please-action#753
1 parent bf7a6a8 commit 1e79bbb

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

dist/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ async function runManifest (command) {
6969
fork
7070
}
7171
)
72+
73+
// Create or update release PRs:
74+
outputPRs(await manifest.createPullRequests())
7275
if (command !== 'manifest-pr') {
73-
outputReleases(await manifest.createReleases())
7476
manifest = await Manifest.fromManifest(
7577
github,
7678
github.repository.defaultBranch,
@@ -81,9 +83,8 @@ async function runManifest (command) {
8183
fork
8284
}
8385
)
86+
outputReleases(await manifest.createReleases())
8487
}
85-
// Create or update release PRs:
86-
outputPRs(await manifest.createPullRequests())
8788
}
8889

8990
async function main () {

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ async function runManifest (command) {
6262
fork
6363
}
6464
)
65+
66+
// Create or update release PRs:
67+
outputPRs(await manifest.createPullRequests())
6568
if (command !== 'manifest-pr') {
66-
outputReleases(await manifest.createReleases())
6769
manifest = await Manifest.fromManifest(
6870
github,
6971
github.repository.defaultBranch,
@@ -74,9 +76,8 @@ async function runManifest (command) {
7476
fork
7577
}
7678
)
79+
outputReleases(await manifest.createReleases())
7780
}
78-
// Create or update release PRs:
79-
outputPRs(await manifest.createPullRequests())
8081
}
8182

8283
async function main () {

0 commit comments

Comments
 (0)