Commit d573c28a authored by Ludovic Dubost's avatar Ludovic Dubost

Normalize attachment version to 1.1

parent 735cb183
......@@ -305,9 +305,9 @@ public class GitLabGroovy {
// Update attachment dates
for (xa in clonedDoc.getAttachmentList()) {
debug("Checking attachment " + xa.getFilename())
xa.setVersion("1.1");
if (defaultDate && defaultDate!="") {
xa.setDate(defaultDate)
xa.setDate(defaultDate);
}
if (withFormat) {
xa.setAuthor(DEFAULTAUTHOR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment