WinGit: Be less verbose when packaging the installer
[git/jnareb-git.git] / share / WinGit / release.sh
blobad2c45279d658d6633b6f439979e95c96b07a5eb
1 #!/bin/sh
3 test -z "$1" && {
4 echo "Usage: $0 <version>"
5 exit 1
8 version=$1
9 TMPDIR=/tmp/WinGit
11 /share/WinGit/copy-files.sh $TMPDIR &&
12 sed "s/msysGit/Git (version $version)/" < /etc/motd > $TMPDIR/etc/motd &&
13 cp /share/resources/gpl-2.0.rtf /share/resources/git.bmp $TMPDIR &&
14 homewinpath=$(cd ~ ; pwd -W) &&
15 sed -e "s/%APPVERSION%/$version/" -e "s@%OUTPUTDIR%@$homewinpath@" \
16 < /share/WinGit/install.iss > $TMPDIR/install.iss &&
17 echo "Lauching Inno Setup compiler ..." &&
18 /share/InnoSetup/ISCC.exe "$TMPDIR/install.iss" /q | grep -Ev "\s*Reading|\s*Compressing"