1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-07-07 02:54:18 -04:00

Up version number to 1.5 + include forgotten file git2changelog

This commit is contained in:
Kim Holviala 2014-01-25 14:59:08 +02:00
parent 863d4c2cbd
commit a6ea868f32
3 changed files with 24 additions and 2 deletions

View File

@ -2,6 +2,8 @@
2014-01-25 Kim Holviala <kim@holviala.com>
* Don't update ChangeLog unless the source tree is a git repo
* Make ChangeLog update itself automatically from git log
* Up Debian package version to 1.5
* Added .gitignore
* Clean up supported platforms list

View File

@ -8,7 +8,7 @@
NAME = gophernicus
PACKAGE = $(NAME)
BINARY = in.$(NAME)
VERSION = 1.5-rc1
VERSION = 1.5
SOURCES = $(NAME).c file.c menu.c string.c platform.c session.c options.c
HEADERS = functions.h files.h
@ -33,7 +33,7 @@ NET_SRV = /boot/common/settings/network/services
DIST = $(PACKAGE)-$(VERSION)
TGZ = $(DIST).tar.gz
RELDIR = /var/gopher/gophernicus.org/software/gophernicus/server/
RELDIR = /var/gopher/gophernicus.org/software/gophernicus/
CC = gcc
HOSTCC = $(CC)

20
git2changelog Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh
##
## Generate ChangeLog from git log
##
PREVIOUS=
IFS=/
echo "[ Automatically generated from git log ]"
git log --pretty=tformat:"%ad %an <%ae>/%s" --date=short | \
while read AUTHOR COMMENT; do
[ "$AUTHOR" != "$PREVIOUS" ] && printf "\n$AUTHOR\n\n"
printf "\t* $COMMENT\n"
PREVIOUS="$AUTHOR"
done
echo
echo