Skip to content

Commit

Permalink
remove support for windows in release script + fix issue with generat…
Browse files Browse the repository at this point in the history
…ing the same binary
  • Loading branch information
Preslav Mihaylov committed Jul 18, 2020
1 parent e244c3d commit 3a7acb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ function create_build {
fi

BINARY=todocheck-$VERSION-$GOOS-$EXT
go build -o $DIR/$BINARY
GOOS=$GOOS GOARCH=$GOARCH go build -o $DIR/$BINARY
cd $DIR && shasum -a 256 $BINARY > $BINARY.sha256 && cd ..
}

mkdir -p $DIR
create_build darwin amd64 x86_64
create_build linux amd64 x86_64
create_build linux arm64
create_build windows amd64 x86_64

0 comments on commit 3a7acb4

Please sign in to comment.