Commit 18bb8274 authored by Guenter Paul Peters's avatar Guenter Paul Peters
Browse files

bug in release fixed

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@280 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent c572a2d1
......@@ -231,7 +231,8 @@ $(WEBDIR)/content.html: $(DOCDIR)
release: web test $(DOCDIR) $(RELDIR)/$(NAME).jar $(RELDIR)/$(NAME).tgz $(RELDIR)/$(NAME).zip $(RELDIR)/$(NAME)-api.tgz $(RELDIR)/current.txt
@status=`svn status -u 2>&1 | grep -v "?" | head -n -1`; \
if [ -n "$$status" ]; then \
echo "STOP: Synchronize with repository first!"; exit 1 ; fi
echo "STOP: Synchronize with repository first!"; exit 1 ;\
else echo " - svn is synchronized"; fi
@grep `cat $(RELDIR)/current.txt` releasenotes.txt 1>/dev/null 2>&1 || \
if [ -f releasenotes.txt ]; then mv releasenotes.txt releasenotes-old.txt; fi; \
cat $(RELDIR)/current.txt > releasenotes.txt; \
......@@ -242,7 +243,7 @@ release: web test $(DOCDIR) $(RELDIR)/$(NAME).jar $(RELDIR)/$(NAME).tgz $(RELDIR
@$(call copy_to_website, $(RELDIR)/$(NAME).tgz,downloads/$(NAME)/$(NAME)_`cat $(RELDIR)/current.txt`.tgz)
@$(call copy_to_website, $(RELDIR)/$(NAME).zip,downloads/$(NAME)/$(NAME)_`cat $(RELDIR)/current.txt`.zip)
@$(call copy_to_website, $(RELDIR)/$(NAME)-api.tgz,downloads/$(NAME)/$(NAME)-api_`cat $(RELDIR)/current.txt`.tgz)
@$(call exec_on_server, rm -rf $(SRVDIR)/$(NAME)/api)
@$(call exec_on_server, if [ -d $(SRVDIR)/$(NAME)/api ]; then rm -rf $(SRVDIR)/$(NAME)/api; fi)
@$(call copy_to_website, $(DOCDIR), $(NAME)/api)
@$(call copy_to_website, $(RELDIR)/current.txt,downloads/$(NAME))
@$(call copy_to_website, releasenotes.txt,downloads/$(NAME))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment