diff --git a/RELEASE.md b/RELEASE.md deleted file mode 100644 index e69de29b..00000000 diff --git a/build.sh b/build.sh index ef78145f..e0719fd8 100644 --- a/build.sh +++ b/build.sh @@ -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