From 6a803dfec495c1b9be1bf3c24140ad1072ef9a43 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 11 Apr 2023 08:52:23 -0700 Subject: [PATCH] fix: tag releases before opening new pull requests (#753) Fixes #747 --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 () {