Revert "Add debugging for notification script (#2840)" (#2842)

This reverts commit 55fe6ecec9.
This commit is contained in:
Devin Binnie
2023-09-15 12:56:45 -04:00
committed by GitHub
parent 55fe6ecec9
commit 008553bd41
2 changed files with 2 additions and 8 deletions

View File

@@ -5,16 +5,11 @@ 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
# Debugging
cat $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 $TEMP_CHANGES_FILE
cat <<-MD
### [v$VERSION](https://github.com/mattermost/desktop/releases/tag/v$VERSION) :tada:
Changes: