Skip to content

Commit

Permalink
Shorten pull/issue URLs in generate-email.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Oct 10, 2023
1 parent 3993f85 commit 5a014af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/generate-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ RELEASE_NOTES_FILE="$SCRIPT_DIR/../src/site/_release-notes/_$PROJECT_VERSION.ado
}

dump_release_notes() {
awk "f{print} /^Release date::/{f=1}" "$RELEASE_NOTES_FILE"
awk "f{print} /^Release date::/{f=1}" "$RELEASE_NOTES_FILE" \
| sed -r 's!'$PROJECT_REPO'/(issues|pull)/[0-9]+\[([0-9]+)\]!#\2!g'
}

case $1 in
Expand Down

0 comments on commit 5a014af

Please sign in to comment.