mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix windows tag build script, by Geert Janssens
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19165 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6f9fb67c5d
commit
ab93f4ecac
@ -25,12 +25,12 @@ svn update
|
|||||||
# If we don't have a tagfile then start from 'now'
|
# If we don't have a tagfile then start from 'now'
|
||||||
tagfile=tags
|
tagfile=tags
|
||||||
if [ ! -f ${tagfile} ] ; then
|
if [ ! -f ${tagfile} ] ; then
|
||||||
svn ls ${TAG_URL} > ${tagfile}
|
svn ls -v ${TAG_URL} | awk '/[^.]\/$/ { print $6$1 }' > ${tagfile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Figure out the new set of tags
|
# Figure out the new set of tags
|
||||||
svn ls ${TAG_URL} > ${tagfile}.new
|
svn ls -v ${TAG_URL} | awk '/[^.]\/$/ { print $6$1 }' > ${tagfile}.new
|
||||||
tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g' -e 's#/$##g'`"
|
tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g'`"
|
||||||
|
|
||||||
# move the new file into place
|
# move the new file into place
|
||||||
mv -f ${tagfile}.new ${tagfile}
|
mv -f ${tagfile}.new ${tagfile}
|
||||||
@ -38,9 +38,11 @@ mv -f ${tagfile}.new ${tagfile}
|
|||||||
################################################################
|
################################################################
|
||||||
# Now iterate over all the new tags (if any) and build a package
|
# Now iterate over all the new tags (if any) and build a package
|
||||||
|
|
||||||
for tag in $tags ; do
|
for tag_rev in $tags ; do
|
||||||
|
tag=${tag_rev%/*}
|
||||||
tagbasedir=/c/soft/gnucash-${tag}
|
tagbasedir=/c/soft/gnucash-${tag}
|
||||||
tagdir=${tagbasedir}/gnucash
|
tagdir=${tagbasedir}/gnucash
|
||||||
|
rm -fr $tagbasedir
|
||||||
mkdir -p ${tagdir}
|
mkdir -p ${tagdir}
|
||||||
|
|
||||||
# Copy the downloads to save time
|
# Copy the downloads to save time
|
||||||
|
Loading…
Reference in New Issue
Block a user