Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 13 Nov 2016 18:04:37 UTC Commit: 26c0d6266eea68d715254fd3a4439a9a9e8789a1 https://github.com/geany/geany/commit/26c0d6266eea68d715254fd3a4439a9a9e8789...
Log Message: ----------- Add a script to set the release date
Modified Paths: -------------- scripts/set-release-date
Modified: scripts/set-release-date 20 lines changed, 20 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +export LANG=C + +DATE=${1:-now} + +# update the files +sed -e '1s/([^)]*)/('"$(date -d "$DATE" +'%B %d, %Y')"')/' -i NEWS +sed -e '1s/^(.TH "[^"]*" "[^"]*" ")[^"]*(")/\1'"$(date -d "$DATE" +'%B %d, %Y')"'\2/' -i doc/geany.1.in +sed -e 's/^(:Date: ).*$/\1'"$(date -d "$DATE" +'%Y-%m-%d')"'/' -i doc/geany.txt + +# show commit message to use +cat <<EOF +Message for the commit, after you have checked the changes: +----------------------------------------------------------- + +Set release date +EOF
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).