summaryrefslogtreecommitdiffstats
path: root/commit.sh
blob: 26318959d64fd0ee582f30c214a12a4dad2339ec (plain)
1
2
3
4
5
6
#!/bin/sh

export EDITOR="emacs"
#TLA_REVISION=$(expr 1 + $(cat ./libglusterfs/src/revision.h | cut -f 8 -d '-' | sed -e 's/"//'))
#sed -i "s/AC_INIT.*/AC_INIT([glusterfs],[2.0.0tla${TLA_REVISION}],[gluster-users@gluster.org])/g" ./configure.ac
tla commit --write-revision ./libglusterfs/src/revision.h:'#define GLUSTERFS_REPOSITORY_REVISION "%s"' "$@"