Commit b99768d3 authored by Mike Perry's avatar Mike Perry
Browse files

Place the bundle results in their own subdir and hash the results.

parent c23a016e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ build:
	./mkbundle-linux.sh
	./mkbundle-windows.sh
	./mkbundle-mac.sh
	./hash-bundles.sh

prep:
	./check-prerequisites.sh

gitian/hash-bundles.sh

0 → 100755
+14 −0
Original line number Diff line number Diff line
#!/bin/bash
#

. ./versions

export LC_ALL=C

cd $TORBROWSER_VERSION
rm -f sha256sums.txt
sha256sum `ls -1 | sort` > sha256sums.txt

echo
echo "If this is an official build, you should now sign your result with: "
echo "  cd $TORBROWSER_VERSION && gpg -abs sha256sums.txt"
+2 −1
Original line number Diff line number Diff line
@@ -156,7 +156,8 @@ then
    exit 1
  fi
  
  cp -a build/out/tor-browser-linux*xz* $WRAPPER_DIR || exit 1
  mkdir -p $WRAPPER_DIR/$TORBROWSER_VERSION/
  cp -a build/out/tor-browser-linux*xz* $WRAPPER_DIR/$TORBROWSER_VERSION/ || exit 1
  touch $GITIAN_DIR/inputs/bundle-linux.gbuilt
else
  echo 
+2 −1
Original line number Diff line number Diff line
@@ -139,7 +139,8 @@ then
  fi
  
  #cp -a build/out/*.dmg $WRAPPER_DIR
  cp -a build/out/*.zip $WRAPPER_DIR || exit 1
  mkdir -p $WRAPPER_DIR/$TORBROWSER_VERSION/
  cp -a build/out/*.zip $WRAPPER_DIR/$TORBROWSER_VERSION/ || exit 1
  touch $GITIAN_DIR/inputs/bundle-mac.gbuilt
else
  echo 
+2 −1
Original line number Diff line number Diff line
@@ -137,7 +137,8 @@ then
    exit 1
  fi
  
  cp -a build/out/*.exe $WRAPPER_DIR || exit 1
  mkdir -p $WRAPPER_DIR/$TORBROWSER_VERSION/
  cp -a build/out/*.exe $WRAPPER_DIR/$TORBROWSER_VERSION/ || exit 1
  touch $GITIAN_DIR/inputs/bundle-windows.gbuilt
else
  echo