We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d35d64 commit 785933cCopy full SHA for 785933c
src/action.ts
@@ -59,7 +59,7 @@ export default async function main() {
59
.split(',')
60
.some((branch) => currentBranch.match(branch));
61
const isPullRequest = isPr(GITHUB_REF);
62
- const isPrerelease = !isReleaseBranch && !isPullRequest && isPreReleaseBranch;
+ const isPrerelease = isPullRequest || (!isReleaseBranch && isPreReleaseBranch);
63
64
// Sanitize identifier according to
65
// https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions
0 commit comments