2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

The cleanupg changlog code was in the wrong section,

fixed issues after testing on the official build machine
This commit is contained in:
Victor Hu 2015-06-23 10:23:44 -04:00
parent bf27f3c41d
commit cfd4d88a20

View File

@ -344,6 +344,18 @@ __EOF__
ln -s xcat-core core-snap
fi
#
# remove the changes to changelog since the files get changed and created in xcat-core..
# left over files not commited to git will prevent switching from branch to branch ...
echo "Cleaning up modified changelog files..."
cleanup_oldpwd=`pwd`
# go to the xcat-core git repo directory
#
cd $local_core_repo_path
cd ../xcatbuild/xcat-core
find ./ -name "changelog" -print | xargs git checkout
cd $cleanup_oldpwd
# Decide whether to upload or not
if [ -n "$UP" ] && [ "$UP" == 0 ]; then
echo "No need to upload"