mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Win32: more fixes for git based tag build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22311 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d38357f7a4
commit
0835f8b730
@ -40,7 +40,7 @@ tagfile=tags_git
|
|||||||
if [ ! -f ${tagfile} ] ; then
|
if [ ! -f ${tagfile} ] ; then
|
||||||
for one_tag in $($GIT_CMD tag)
|
for one_tag in $($GIT_CMD tag)
|
||||||
do
|
do
|
||||||
tag_hash=$($GIT_CMD rev_parse ${one_tag})
|
tag_hash=$($GIT_CMD rev-parse ${one_tag})
|
||||||
echo ${one_tag}/${tag_hash} >> ${tagfile}
|
echo ${one_tag}/${tag_hash} >> ${tagfile}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@ -49,7 +49,7 @@ fi
|
|||||||
rm -f ${tagfile}.new
|
rm -f ${tagfile}.new
|
||||||
for one_tag in $($GIT_CMD tag)
|
for one_tag in $($GIT_CMD tag)
|
||||||
do
|
do
|
||||||
tag_hash=$($GIT_CMD rev_parse ${one_tag})
|
tag_hash=$($GIT_CMD rev-parse ${one_tag})
|
||||||
echo ${one_tag}/${tag_hash} >> ${tagfile}.new
|
echo ${one_tag}/${tag_hash} >> ${tagfile}.new
|
||||||
done
|
done
|
||||||
tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g'`"
|
tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g'`"
|
||||||
|
Loading…
Reference in New Issue
Block a user