fix: tag releases before opening new pull requests (#753)

Fixes #747
This commit is contained in:
Jeff Ching
2023-04-11 08:52:23 -07:00
committed by GitHub
parent 6730d1afa8
commit 6a803dfec4

View File

@@ -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 () {