Skip to content

Commit

Permalink
More release script fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyHairy committed Sep 21, 2017
1 parent 2d7a66d commit 8dd34ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ packages="cli/docker-ls cli/docker-rm"

echo

go test github.com/mayflower/docker-ls/lib/... || exit 1
go generate github.com/mayflower/docker-ls/lib/... || exit 1

test -d release && rm -fr release
mkdir release
mkdir release/archives
Expand Down Expand Up @@ -43,6 +46,6 @@ for os in $os_list; do
shafile="$zipfile.sha256"

zip --junk-paths "$zipfile" $target_dir/*
cat "$zipfile" | sha256sum | awk '{print $1;}' > "$shafile"
cat "$zipfile" | shasum -a 256 | awk '{print $1;}' > "$shafile"
done
done

0 comments on commit 8dd34ff

Please sign in to comment.