Skip to content

Commit

Permalink
chore: 增加自动更新日志
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Dec 14, 2023
1 parent 6953988 commit 4a5bb1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Empty file removed RELEASE.md
Empty file.
10 changes: 10 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ export GO111MODULE=on
export GOOS=windows
export GOARCH=386

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

RUN_NUMBER=${GITHUB_RUN_NUMBER:-0}

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

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

echo building for $GOOS/$GOARCH

target=build/wrest.exe
Expand Down

0 comments on commit 4a5bb1e

Please sign in to comment.