Skip to content

Commit af35694

Browse files
committed
bugfix: add tpl folder to archives
1 parent 57ff91c commit af35694

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.2
2+
3+
* bugfix: add tpl folder to archive
4+
15
# v0.1
26

37
* initial implementation

build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ do
2424

2525
# build
2626
CGO_ENABLED=0 GOOS=$goos GOARCH=$goarch go build -ldflags='-s -w' -v -o bin/$goos/$goarch/$name$ext $gofile
27+
28+
# add tpl
29+
cp -r tpl bin/$goos/$goarch/tpl
2730

2831
# pack
2932
tar cfvz tar/$name-$goos-$goarch.tar.gz -C bin/$goos/$goarch .

0 commit comments

Comments
 (0)