Skip to content

Clear build folder on export and publish#2488

Merged
tomgreenfield merged 3 commits intoadaptlearning:release/bugpatchfrom
CanStudios:issue/2442
Jan 30, 2020
Merged

Clear build folder on export and publish#2488
tomgreenfield merged 3 commits intoadaptlearning:release/bugpatchfrom
CanStudios:issue/2442

Conversation

@canstudios-nicolaw
Copy link
Copy Markdown
Contributor

@canstudios-nicolaw canstudios-nicolaw commented Jan 9, 2020

Fixes #2235 & #2442.

@canstudios-nicolaw canstudios-nicolaw added T: bug S: awaiting-review Completed issues waiting on reviews labels Jan 9, 2020
@canstudios-nicolaw canstudios-nicolaw self-assigned this Jan 9, 2020
@tomgreenfield
Copy link
Copy Markdown
Contributor

Yet to give this a test but does/can this happen on a 'force rebuild' preview as well?

@canstudios-nicolaw
Copy link
Copy Markdown
Contributor Author

You're right @tomgreenfield it does happen on preview (force or regular) as well.

In fact I can't think of a situation in which we wouldn't want the build folder to be emptied. What do you think of moving that line out of the if statement? (Or just having this as it's own waterfall step?)

@tomgreenfield
Copy link
Copy Markdown
Contributor

Not really sure about the normal, 'non-rebuild' preview - might be easier to leave that process untouched.

Copy link
Copy Markdown
Contributor

@tomgreenfield tomgreenfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

Comment thread plugins/output/adapt/publish.js Outdated
@canstudios-nicolaw
Copy link
Copy Markdown
Contributor Author

@tomgreenfield I think it would be worth you approving again since I've committed since the last approval

@tomgreenfield tomgreenfield merged commit 1c3122a into adaptlearning:release/bugpatch Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S: awaiting-review Completed issues waiting on reviews T: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants