Skip to content

Commit

Permalink
prepare to release 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lealife committed Dec 1, 2017
1 parent d77e636 commit c084792
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/service/ConfigService.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,5 +606,5 @@ func (this *ConfigService) HomePageIsAdminsBlog() bool {
}

func (this *ConfigService) GetVersion() string {
return "2.5"
return "2.6"
}
6 changes: 2 additions & 4 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SP=$(cd "$(dirname "$0")"; pwd)
tmp="/Users/life/Desktop/leanote_release"

# version
V="v2.5"
V="v2.6"

##=================================
# 1. 先build 成 3个平台, 2种bit = 6种
Expand All @@ -32,7 +32,7 @@ function build()
suffix=".exe"
fi

GOOS=$1 GOARCH=$2 go build -o leanote-$1-$2$suffix ../app/tmp
GOOS=$1 GOARCH=$2 go build -o leanote-$1-$2$suffix github.com/leanote/leanote/app/tmp
}

build "linux" "386";
Expand All @@ -42,7 +42,6 @@ build "linux" "arm";
build "windows" "386";
build "windows" "amd64";

# build "darwin" "386";
build "darwin" "amd64";


Expand Down Expand Up @@ -146,7 +145,6 @@ tarRelease "linux" "arm";
tarRelease "windows" "386";
tarRelease "windows" "amd64";

# tarRelease "darwin" "386";
tarRelease "darwin" "amd64";

# BLOCK'

0 comments on commit c084792

Please sign in to comment.