add date to branch name.

This commit is contained in:
Christopher Jeffrey 2014-12-06 16:06:31 -08:00
parent 2343adda3b
commit 0d756bf05f
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ patch_file="$(pwd)/libbitcoind.patch"
cd "$dir" || exit 1 cd "$dir" || exit 1
if test -e .git; then if test -e .git; then
git checkout -b libbitcoind || exit 1 git checkout -b "libbitcoind-$(date '+%Y.%m.%d')" || exit 1
fi fi
patch -p1 < "$patch_file" || exit 1 patch -p1 < "$patch_file" || exit 1