Skip to content

Commit

Permalink
as discussed, skipping file validation for minor version releases (#6558
Browse files Browse the repository at this point in the history
)
  • Loading branch information
landreev committed Apr 14, 2020
1 parent bc389b3 commit a2079d2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
Dataset theDataset = getDataset();

// validate the physical files before we do anything else:
// (unless specifically disabled)
// (unless specifically disabled; or a minor version)
if (theDataset.getLatestVersion().getVersionState() != RELEASED
&& theDataset.getLatestVersion().getMinorVersionNumber() != null
&& theDataset.getLatestVersion().getMinorVersionNumber().equals((long) 0)
&& ctxt.systemConfig().isDatafileValidationOnPublishEnabled()) {
// some imported datasets may already be released.

Expand Down

0 comments on commit a2079d2

Please sign in to comment.