diff --git a/index.js b/index.js index b19c659..50e0fea 100644 --- a/index.js +++ b/index.js @@ -62,9 +62,8 @@ async function runManifest (command) { fork } ) - // Create or update release PRs: - outputPRs(await manifest.createPullRequests()) if (command !== 'manifest-pr') { + outputReleases(await manifest.createReleases()) manifest = await Manifest.fromManifest( github, github.repository.defaultBranch, @@ -75,8 +74,9 @@ async function runManifest (command) { fork } ) - outputReleases(await manifest.createReleases()) } + // Create or update release PRs: + outputPRs(await manifest.createPullRequests()) } async function main () {