[nginx] svn commit: r4251 - in branches/stable-1.0: . misc

igor at sysoev.ru igor at sysoev.ru
Tue Nov 1 14:00:04 UTC 2011


Author: is
Date: 2011-11-01 14:00:04 +0000 (Tue, 01 Nov 2011)
New Revision: 4251

Modified:
   branches/stable-1.0/
   branches/stable-1.0/misc/GNUmakefile
Log:
Merging r4179, r4182, r4212:

Adding RELEASE procedure in GNUmakefile.



Property changes on: branches/stable-1.0
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk:3960-3974,3977-3987,3991-3996,3998,4003-4007,4009-4013,4015-4018,4020,4023,4025-4027,4034-4065,4073,4077,4086-4090,4094-4102,4106-4108,4113-4114,4129-4137,4143,4147-4152,4154-4157,4177,4183-4184,4186-4187,4191-4192,4199-4205,4207,4219-4220,4229-4230,4235,4237
   + /trunk:3960-3974,3977-3987,3991-3996,3998,4003-4007,4009-4013,4015-4018,4020,4023,4025-4027,4034-4065,4073,4077,4086-4090,4094-4102,4106-4108,4113-4114,4129-4137,4143,4147-4152,4154-4157,4177,4179,4182-4184,4186-4187,4191-4192,4199-4205,4207,4212,4219-4220,4229-4230,4235,4237

Modified: branches/stable-1.0/misc/GNUmakefile
===================================================================
--- branches/stable-1.0/misc/GNUmakefile	2011-11-01 13:56:26 UTC (rev 4250)
+++ branches/stable-1.0/misc/GNUmakefile	2011-11-01 14:00:04 UTC (rev 4251)
@@ -3,6 +3,7 @@
 			| sed -e 's/^.*\"\(.*\)\"/\1/')
 NGINX =		nginx-$(VER)
 TEMP =		tmp
+REPO =		svn://svn.nginx.com
 
 OBJS =		objs.msvc8
 OPENSSL =	openssl-0.9.8r
@@ -40,6 +41,22 @@
 	tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX)
 
 
+RELEASE:
+	test -d $(TEMP) || mkdir -p $(TEMP)
+
+	echo "nginx-$(VER)-RELEASE" > $(TEMP)/message
+	svn ci -F $(TEMP)/message
+
+	echo "release-$(VER) tag" > $(TEMP)/message
+	svn copy $(REPO)/nginx/branches/stable-1.0			\
+		$(REPO)/nginx/tags/release-$(VER)  			\
+		-F $(TEMP)/message
+
+	svn up
+
+	$(MAKE) release
+
+
 snapshot:
 	rm -rf $(TEMP)
 



More information about the nginx-devel mailing list