Remove non-existing language from 1.34 translation NEWS
[geany-mirror.git] / scripts / set-release-date
blob22845adaffa98de54a61678a8a8872ad694d8fe8
1 #!/bin/sh
3 set -e
5 export LC_ALL=C
7 DATE=${1:-now}
9 # update the files
10 sed -e '1s/([^)]*)/('"$(date -d "$DATE" +'%B %d, %Y')"')/' -i NEWS
11 sed -e '1s/^\(.TH "[^"]*" "[^"]*" "\)[^"]*\("\)/\1'"$(date -d "$DATE" +'%B %d, %Y')"'\2/' -i doc/geany.1.in
12 sed -e 's/^\(:Date: \).*$/\1'"$(date -d "$DATE" +'%Y-%m-%d')"'/' -i doc/geany.txt
14 # show commit message to use
15 cat <<EOF
16 Message for the commit, after you have checked the changes:
17 -----------------------------------------------------------
19 Set release date
20 EOF