[build] sha1 packages

This commit is contained in:
Jonathan Budzenski 2016-03-09 15:03:09 -06:00
parent 520f9a737a
commit ac2ae334fc

View file

@ -8,8 +8,8 @@ module.exports = function (grunt) {
readdir(targetDir)
.map(function (archive) {
// only sha the archives
if (!archive.match(/\.zip$|\.tar.gz$/)) return;
// only sha the archives and packages
if (!archive.match(/\.zip$|\.tar.gz$|\.deb$|\.rpm$/)) return;
return exec('shasum ' + archive + ' > ' + archive + '.sha1.txt', {
cwd: targetDir