Skip to content

Commit

Permalink
fix build end notification
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbuks committed Sep 28, 2023
1 parent 1ddf2c1 commit 7e4e906
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/generate_release_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ set -eu

VERSION="$1" # such as 5.3.0-rc.1, 5.0.0

TEMP_VERSION_FILE="$(mktemp -t temp_version_file.XXXX)"
git for-each-ref --sort=creatordate --format '%(refname)' refs/tags | grep "v[0-9]\.[0-9]\.[0-9]" | grep -v mas | grep -v "v$VERSION" | sed "s/refs\/tags\/v//" > $TEMP_VERSION_FILE
LAST_VERSION="$(cat $TEMP_VERSION_FILE | tail -1)"

TEMP_CHANGES_FILE="$(mktemp -t temp_changes_file.XXXX)"
git cherry -v v$LAST_VERSION v$VERSION | grep ^+ | grep "(#[0-9]\+)" > $TEMP_CHANGES_FILE

cat <<-MD
#### $VERSION Published to GitHub Releases
Expand Down

0 comments on commit 7e4e906

Please sign in to comment.