Commit 371f57b0 authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

Don't check if package was released already

The checks aren't reliable enough and fail if the local repo is broken due to
network failures. So for now we just allways commit.
parent 2fe5dbf9
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
@@ -23,13 +23,6 @@ fi

echo -n 'releasing package...'
pushd .. >/dev/null

trunk=$(svnversion -cn trunk)
[[ $? -gt 0 ]] && abort
repo=$(svnversion -cn "repos/${1}" 2>/dev/null)
if [[ $? -eq 0 ]] && [[ ${trunk%:*} -le ${repo%:*} ]]; then
	echo 'already done'
else
if [ -d "repos/${1}" ]; then
	svn rm --force -q "repos/${1}"
	svn commit -q -m "archrelease: remove ${1}" || abort
@@ -38,6 +31,6 @@ else
svn commit -q -m "archrelease: copy trunk to ${1}" || abort
popd >/dev/null
echo 'done'
fi

# vim: set noexpandtab tabstop=8 shiftwidth=8 wrap:textwidth=132 autoindent
# kate: indent-mode normal; indent-width 8; tab-indents on; tab-width 8; word-wrap on; word-wrap-column 132