Skip to content

Commit

Permalink
WIP3
Browse files Browse the repository at this point in the history
  • Loading branch information
codykaup committed Dec 9, 2024
1 parent 5589f6c commit c88b1e1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions node-src/tasks/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,15 @@ export const verifyBuild = async (ctx: Context, task: Task) => {

transitionTo(success, true)(ctx, task);

ctx.log.info({
options: ctx.options.exitOnceUploaded,
config: ctx.configuration.exitOnceUploaded,
flags: ctx.flags.exitOnceUploaded,
});
if (list || ctx.isPublishOnly || matchesBranch?.(ctx.options.exitOnceUploaded)) {
if (
list ||
ctx.isPublishOnly ||
matchesBranch?.(
ctx.options.exitOnceUploaded ??
ctx.configuration.exitOnceUploaded ??
ctx.options.exitOnceUploaded
)
) {
ctx.log.info('Exit once uploaded triggered, skipping!!!');
setExitCode(ctx, exitCodes.OK);
ctx.skipSnapshots = true;
Expand Down

0 comments on commit c88b1e1

Please sign in to comment.