add date to branch name.
This commit is contained in:
parent
2343adda3b
commit
0d756bf05f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue