Skip to content

Commit

Permalink
bugfix: add tpl folder to archives
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Jul 13, 2018
1 parent 57ff91c commit af35694
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.2

* bugfix: add tpl folder to archive

# v0.1

* initial implementation
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ do

# build
CGO_ENABLED=0 GOOS=$goos GOARCH=$goarch go build -ldflags='-s -w' -v -o bin/$goos/$goarch/$name$ext $gofile

# add tpl
cp -r tpl bin/$goos/$goarch/tpl

# pack
tar cfvz tar/$name-$goos-$goarch.tar.gz -C bin/$goos/$goarch .
Expand Down

0 comments on commit af35694

Please sign in to comment.