[release] Select individual checksums matching all configured algorithms. Fixes
@@ -79,8 +79,10 @@ public abstract class AbstractReleaserBuilder<R extends Releaser> implements Rel
Path path = artifact.getEffectivePath(context);
addReleaseAsset(path);
if (uploadIndividualChecksums) {
+ for (Algorithm algorithm : context.getModel().getChecksum().getAlgorithms()) {
addReleaseAsset(context.getChecksumsDirectory()
- .resolve(path.getFileName() + ".sha256"));
+ .resolve(path.getFileName() + "." + algorithm.formatted()));
+ }
}
}
