Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
fix: tag releases before opening new pull requests (#753)
Browse files Browse the repository at this point in the history
Fixes #747
  • Loading branch information
chingor13 committed Apr 11, 2023
1 parent 6730d1a commit 6a803df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 () {
Expand Down

0 comments on commit 6a803df

Please sign in to comment.