Mentions légales du service

Skip to content
Snippets Groups Projects
Commit abbcf7c4 authored by Vincent Danjean's avatar Vincent Danjean
Browse files

Check for already existing version earlier

git-svn-id: svn+ssh://imag/users/huron/danjean/svnroot/claire/altree/trunk@130 cf695345-040a-0410-a956-b889e835fe2e
parent cb99748f
No related branches found
No related tags found
No related merge requests found
......@@ -74,9 +74,6 @@ if [ "$(make distcheck 2>&1 1>/dev/null | grep -v "^No such file: META.yml$")" !
fi
fi
make disttest
make dist
D=svn+ssh://labri/usr/labri/danjean/svnroot/claire/altree/tags/release-$VERSION
if svn ls "$D" > /dev/null; then
echo "************************************"
......@@ -88,10 +85,18 @@ if svn ls "$D" > /dev/null; then
echo "* !!! WARNING: --force enabled : type 'ENTER to continue'"
echo "************************************"
read a
DO_TAG=false
else
exit 1
fi
else
DO_TAG=true
fi
make disttest
make dist
if [ "$DO_TAG" = true ]; then
$DRYRUN svn copy -m "Release $VERSION" \
svn+ssh://labri/usr/labri/danjean/svnroot/claire/altree/trunk \
"$D"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment