gnucash-on-windows master: Check for tags in the proper git repository

Geert Janssens gjanssens at code.gnucash.org
Mon Oct 6 10:29:57 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/20b9a77d (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/418b95a4 (commit)



commit 20b9a77d95712b9378bdaf20eeb82e13f51ddf25
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Mon Oct 6 17:39:18 2014 +0200

    Check for tags in the proper git repository

diff --git a/buildserver/build_package.sh b/buildserver/build_package.sh
index 31c3d0b..a3fe840 100644
--- a/buildserver/build_package.sh
+++ b/buildserver/build_package.sh
@@ -31,6 +31,8 @@ tag="${1:-$GNUCASH_SCM_REV}"
 # NOTE: this assumes "tag" to be either a tag or a branch, not a
 #       commit hash. It will probably work with a hash as well,
 #       but will create a directory for the hash
+_REPOS_UDIR=`unix_path $REPOS_DIR`
+qpushd "$_REPOS_UDIR"
 if [ -n "$($GIT_CMD tag -l $tag)" ]; then
   TARGET_DIR=releases
   LOG_TAG=$tag
@@ -38,6 +40,7 @@ else
   TARGET_DIR=$tag
   LOG_TAG=$TARGET_DIR
 fi
+qpopd
 
 set_default OUTPUT_DIR $GLOBAL_DIR\\output
 LOGFILENAME=build-${LOG_TAG}-`date +'%Y-%m-%d'`.log



Summary of changes:
 buildserver/build_package.sh | 3 +++
 1 file changed, 3 insertions(+)



More information about the gnucash-changes mailing list