6 echo "USAGE: $0 VERSION CODENAME" >&2
14 [ "$(echo "$FULLVER" | grep -o -F . | wc -c)" -lt 3 ] && FULLVER
="$FULLVER.0"
17 sed -e 's/^\(.. |(version)| replace:: \).*$/\1'"$VER"'/' -i doc
/geany.txt
18 sed -e 's/^\([ ]*version="\)[^"]*\("\)/\1'"$FULLVER"'.0\2/' -i geany.exe.manifest
21 s/^\(#define VER_FILEVERSION *\)[^ ].*$/\1'"$(echo "$FULLVER" | tr . ,)"',0/
22 s/^\(#define VER_FILEVERSION_STR *\)[^ ].*$/\1"'"$VER"'"/
25 sed -e 's/^\(AC_INIT([^,]*, *\[\)[^]]*\(\],\)/\1'"$VER"'\2/' -i configure.ac
26 sed -re '/^project\W/,/[)]/s/^(.*\Wversion\s*:\s*)'\''[^'\'']*'\''(.*)$/\1'"'$VER'"'\2/' -i meson.build
27 sed -e 's/^\(#define GEANY_CODENAME[ ]*"\)[^"]*\("\)/\1'"$CODENAME"'\2/' -i src
/geany.h
30 1i Geany '"$VER"' (unreleased)\n\n
33 # show commit message to use
35 Message for the commit, after you have checked the changes:
36 -----------------------------------------------------------
38 Post release version bump
40 Say hello to Geany $VER "$CODENAME"!