We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddb1136 commit a606829Copy full SHA for a606829
1 file changed
ci/build.sh
@@ -2,7 +2,15 @@
2
export GOARCH=amd64
3
4
build(){
5
- go build -o bin/sshcode-$GOOS-$GOARCH
+ tmpdir=$(mktemp -d)
6
+ go build -o $tmpdir/sshcode
7
+
8
+ pushd $tmpdir
9
+ tarname=sshcode-$GOOS-$GOARCH.tar
10
+ tar -cf $tarname sshcode
11
+ popd
12
+ cp $tmpdir/$tarname bin
13
+ rm -rf $tmpdir
14
}
15
16
GOOS=darwin build
0 commit comments