Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Jul 20, 2018
1 parent a521de6 commit e5aa2e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ ! $last_tag_ref == $last_commit_ref ]; then
exit 1
fi

mv dist/ dist.prev/
[ -d dist/ ] && mv dist/ dist.prev/

xgo \
--targets="darwin/amd64,linux/amd64" \
Expand All @@ -25,6 +25,8 @@ xgo \
-v -x \
github.com/endorama/two-factor-authenticator

sudo chown $USER: -R dist

gpg_sign_key="[email protected]"
checksum_file="dist/two-factor-authenticator_${version}_checksums.txt"

Expand Down

0 comments on commit e5aa2e5

Please sign in to comment.