chore: rename blog->eiblog

This commit is contained in:
deepzz0
2021-04-29 11:17:20 +08:00
parent 9c341f88d2
commit 2fbc5fa024
27 changed files with 193 additions and 97 deletions

View File

@@ -15,7 +15,7 @@ for file in pkg/core/*; do
_target="$app-$_tag.$os-$_arch.tar.gz"
CGO_ENABLED=0 GOOS=$os GOARCH=$_arch \
go build -o bin/backend "./cmd/$app"
if [ "$app" == "blog" ]; then
if [ "$app" = "eiblog" ]; then
tar czf $_target conf website assets bin/backend
else
tar czf $_target conf bin/backend