[Hejes-devel] [1044] new make target prepare_deploy

hejes-devel at nytud.hu hejes-devel at nytud.hu
Thu Nov 28 15:11:28 CET 2013


Revision: 1044
Author:   mihaltz
Date:     2013-11-28 15:11:28 +0100 (Thu, 28 Nov 2013)
Log Message:
-----------
new make target prepare_deploy

Modified Paths:
--------------
    trunk/misc/dbblog/Makefile

Modified: trunk/misc/dbblog/Makefile
===================================================================
--- trunk/misc/dbblog/Makefile	2013-11-28 14:05:10 UTC (rev 1043)
+++ trunk/misc/dbblog/Makefile	2013-11-28 14:11:28 UTC (rev 1044)
@@ -37,15 +37,16 @@
 
 prepare_deploy:
 # 1. svn add & commit any new blog images
-	cd $(DEVDIR)/static/blog ;
-	svn add ./* ;
-	svn commit -m "new blog image(s)"
+	cd $(DEVDIR)/static/blog ; \
+	svn add ./* ; \
+	svn commit -m "new blog image(s) (new blog post(s))"
 # 2. make new db dump & svn commit
-	echo Making new dump
+	make dump_db
+	svn commit dump_dbhelyesblog.sql.zip -m "updated dbhelyesblog dump (new blog post(s))"
 # 3. run sitemap.xml updater & svn commit
-	echo Updating sitemap.xml
+	python ./sitemap_updater.py
+	svn commit ../../web2py/applications/helyesiras_webdev/static/sitemap.xml -m "updated sitemap xml (new blog post(s))"
 
-
 # ------------------------------------------------------------------------------
 
 # Deploy blog images:




More information about the Hejes-devel mailing list