瀏覽代碼

Add sha256 sum for AppImage

Peter Squicciarini 6 年之前
父節點
當前提交
724b1d3d21
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      sum.sh

+ 4 - 0
sum.sh

@@ -30,6 +30,10 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
     if [[ "$BUILDARCH" == "x64" ]]; then
       deb_arch=amd64
       rpm_arch=x86_64
+
+      # app image is x64 only
+      sum_file vscode/out/*.AppImage
+      cp vscode/out/*.{sha256,sha1} .
     elif [[ "$BUILDARCH" == "ia32" ]]; then
       deb_arch=i386
       rpm_arch=i386