Add file download information window + SHA-256 + more checksums
I'm not the biggest fan of how the info window works, but it works anyway, and it's easy to apply to *all* the download links. Also decided to sign & checksum static binaries. Those are just as important (if not more so) than the source tarballs. Yes, I did verify that my copies of all the files were still in line with the other checksums before creating the SHA256 checksums. :) And I think I'm done fiddling with the site now; This is the last of my planned changes. ...except that the site kinda sucks in text-mode browsers now. Hmm. But how do I improve that?
This commit is contained in:
parent
7367b44edc
commit
de0227cdbd
94 changed files with 216 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
($project) = (shift =~ /^([^ \/]+)/);
|
||||
$project = uc $project if $project eq 'tuwf';
|
||||
$title = shift;
|
||||
|
||||
print "---\ntitle: $title\npage-type: changelog\n...\n";
|
||||
|
|
@ -9,7 +10,8 @@ for (split /\n\n/, join '', <>) {
|
|||
s/^([0-9]+\.[0-9]+(?:\.[0-9]+)?)\s+-\s+([0-9]{4}-[0-9]{2}-[0-9]{2})//;
|
||||
print "\n- **$1** - $2";
|
||||
$dl = "$project-$1.tar.gz";
|
||||
print " - [dllink $dl]" if -f "pub/download/$dl";
|
||||
$dl = "$project-linux-amd64-$1.tar.gz" if !-f "pub/download/$dl";
|
||||
print " - [$dl](/download/$dl)" if -f "pub/download/$dl";
|
||||
print "\n";
|
||||
|
||||
for (split /\r?\n\s+-\s+/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue