Skip to content

Commit

Permalink
release v0.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Dec 13, 2023
1 parent f92ac4f commit 700e5a8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 0 additions & 2 deletions RELEASE.md

This file was deleted.

12 changes: 12 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ tar xvf cloud-ui.tar.gz --strip-components 2 -C front

####################################################################

last_tag=`git tag | sort -V | tail -n 1`
prev_tag=`git tag | sort -V | tail -n 2 | head -n 1`
git log $last_tag..$prev_tag --pretty=format:"%s" | grep -v "^release" | sed 's/^/- /' | sort > RELEASE.md

version=`echo $last_tag | sed 's/^v//'`
sed -i "s/^const Version = \".*\"/const Version = \"$version\"/" cmd/args/build.go

build_version=$((`grep -oP 'BuildVersion = "\K\d+' cmd/args/build.go` + $GITHUB_RUN_NUMBER))
sed -i "s/^const BuildVersion = \".*\"/const BuildVersion = \"$build_version\"/" cmd/args/build.go

####################################################################

build android arm64

build darwin amd64
Expand Down
4 changes: 2 additions & 2 deletions cmd/args/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package args

// 版本信息

const Version = "0.15.1"
const BuildVersion = "231204"
const Version = "0.15.2"
const BuildVersion = "231205"

// 更新地址

Expand Down

0 comments on commit 700e5a8

Please sign in to comment.