Commit c92a499b authored by Alex Brainman's avatar Alex Brainman

misc/windows: allow to be used for amd64

R=jdpoirier
CC=golang-dev
https://golang.org/cl/5305048
parent b7ef3c9a
...@@ -11,12 +11,9 @@ Unzip and place 7za.exe in msys' bin directory. ...@@ -11,12 +11,9 @@ Unzip and place 7za.exe in msys' bin directory.
Packaging Packaging
========= =========
1) have a go tree at $GOROOT - have a go tree at $GOROOT
2) make sure $GOBIN=$GOROOT\bin is empty - make sure $GOBIN=$GOROOT\bin or is empty
3) select appropriate version "hg up -r ..." - make sure $GOARCH=386 or $GOARCH=amd64
4) build go "cd $GOROOT/src; ./all.bash" - select appropriate version "hg up -r ..."
5) create Windows packages "cd $GOROOT/misc/windows; ./package.bash" - build go "cd $GOROOT/src; ./all.bash"
- create Windows packages "cd $GOROOT/misc/windows; ./package.bash"
...@@ -36,9 +36,9 @@ cp -a ../../pkg go/pkg ...@@ -36,9 +36,9 @@ cp -a ../../pkg go/pkg
cp -a ../../bin go/bin cp -a ../../bin go/bin
echo "%%%%% Starting zip packaging %%%%%" 1>&2 echo "%%%%% Starting zip packaging %%%%%" 1>&2
7za a -tzip -mx=9 gowin386"_"$ver.zip "go/" >/dev/null 7za a -tzip -mx=9 gowin$GOARCH"_"$ver.zip "go/" >/dev/null
echo "%%%%% Starting installer packaging %%%%%" 1>&2 echo "%%%%% Starting installer packaging %%%%%" 1>&2
"$ISCC" //dAppName=Go //dAppVersion=386"_"$ver //dAppNameLower=go installer.iss >/dev/null "$ISCC" //dAppName=Go //dAppVersion=$GOARCH"_"$ver //dAppNameLower=go installer.iss >/dev/null
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment