Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 13 Nov 2016 17:15:45 UTC Commit: 5241f40dcfe2bf2287c0f81b7b4bbc463873f775 https://github.com/geany/geany/commit/5241f40dcfe2bf2287c0f81b7b4bbc463873f7...
Log Message: ----------- Add a script to convert NEWS to GitHub release format
Modified Paths: -------------- scripts/github-news
Modified: scripts/github-news 22 lines changed, 22 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,22 @@ +#!/bin/sh + +# Converts the last NEWS entry to GitHub format + +sed -n -e ' +n +:next + +# stop at the second header +/^[A-Za-z0-9_-]/q +# strip the leading indentation +s/^ // +# Make titles +s/^[A-Za-z0-9_-]/## \0/ +# Turn PR and Issue references to links +s%PR#([0-9]{1,})%[\0](https://github.com/geany/geany/pull/%5C1)%g +s%Issue#([0-9]{1,})%[\0](https://github.com/geany/geany/issue/%5C1)%g + +p +n +b next +' < NEWS
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).