Skip to content

Commit

Permalink
Release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Jan 16, 2017
1 parent 896086b commit 689a25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.fish
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ git tag --annotate v$VERSION -m "Release v$VERSION"
echo Be sure to: git push --tags
echo

set DISTDIR dist/$VERSION
set DISTDIR dist/v$VERSION
mkdir -p $DISTDIR

for pair in linux/386 linux/amd64 linux/arm linux/arm64 darwin/amd64 dragonfly/amd64 freebsd/amd64 netbsd/amd64 openbsd/amd64
set GOOS (echo $pair | cut -d'/' -f1)
set GOARCH (echo $pair | cut -d'/' -f2)
set BIN $DISTDIR/oklog-$GOOS-$GOARCH
set BIN $DISTDIR/oklog-$VERSION-$GOOS-$GOARCH
echo $BIN
env GOOS=$GOOS GOARCH=$GOARCH go build -o $BIN -ldflags="-X main.version=$VERSION" github.com/oklog/oklog/cmd/oklog
end
Expand Down

0 comments on commit 689a25b

Please sign in to comment.