forge-mtg: deterministic update script

- ensuring that the patched files are sorted to avoid unnecessary large diffs such as #446810

- add myself as maintainer
This commit is contained in:
Dyego Aurélio
2025-09-28 10:31:21 -03:00
parent 418bdb760a
commit 2f02ce3c5c
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -129,6 +129,9 @@ maven.buildMavenPackage {
description = "Magic: the Gathering card game with rules enforcement";
homepage = "https://card-forge.github.io/forge";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ eigengrau ];
maintainers = with maintainers; [
dyegoaurelio
eigengrau
];
};
}
+1 -1
View File
@@ -109,7 +109,7 @@ update_patch() {
fi
fi
fi
done < <(find "$source_dir" -name "pom.xml" -print0)
done < <(find "$source_dir" -name "pom.xml" -print0 | sort -z)
if [[ "$plugin_found" == "true" && -n "$patch_content" ]]; then
echo "Updating $patch_file..."