summaryrefslogtreecommitdiffstats
path: root/tools/ko-release-gen
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ko-release-gen')
-rwxr-xr-xtools/ko-release-gen8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ko-release-gen b/tools/ko-release-gen
index 46d140f95..b95af2ea9 100755
--- a/tools/ko-release-gen
+++ b/tools/ko-release-gen
@@ -49,6 +49,14 @@ function add_file {
local sig=$(echo "$name" | sed 's/\.tar\.xz/.tar.sign/')
xz -d -c $subdir/$name | $GPG_CMD --output $subdir/$sig
;;
+ *.tar.gz)
+ local sig=$(echo "$name" | sed 's/\.tar\.gz/.tar.sign/')
+ gzip -d -c $subdir/$name | $GPG_CMD --output $subdir/$sig
+ ;;
+ *.tar.bz2)
+ local sig=$(echo "$name" | sed 's/\.tar\.bz2/.tar.sign/')
+ bzip2 -d -c $subdir/$name | $GPG_CMD --output $subdir/$sig
+ ;;
*)
local sig="${name}.sign"
cat $subdir/$name | $GPG_CMD --output $subdir/$sig