Skip to content

Commit d6512e9

Browse files
committed
net-installer: use the .7z.exe file extension by default
The generated file is actually a self-extracting archive; it can be opened with 7-Zip if the user is uncomfortable to run anything. When extracted via 7-Zip, the setup-git-sdk.bat script needs to be executed manually, though. Once run, it can be discarded safely. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent be27fb7 commit d6512e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net-installer/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ esac
2828
GIT_BRANCH="${2:-master}"
2929
GIT_CLONE_URL=https://github.com/git-for-windows/git
3030

31-
TARGET="$HOME"/git-sdk-"$1".exe
31+
TARGET="$HOME"/git-sdk-installer-"$1".7z.exe
3232
OPTS7="-m0=lzma -mx=9 -md=64M"
3333
TMPPACK=/tmp.7z
3434
SHARE="$(cd "$(dirname "$0")" && pwd)"
@@ -75,4 +75,5 @@ echo "Creating archive" &&
7575
echo ';!@InstallEnd@!' &&
7676
cat "$TMPPACK") > "$TARGET" &&
7777
echo "Success! You will find the new installer at \"$TARGET\"." &&
78+
echo "It is a self-extracting .7z archive (just append .exe to the filename)" &&
7879
rm $TMPPACK

0 commit comments

Comments
 (0)