[Groonga-commit] groonga/groonga at e42b678 [master] package windows: add snapshot package upload target

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 8 14:49:32 JST 2015


Kouhei Sutou	2015-07-08 14:49:32 +0900 (Wed, 08 Jul 2015)

  New Revision: e42b6781d15530e9446b5a3a9866e1530fe87785
  https://github.com/groonga/groonga/commit/e42b6781d15530e9446b5a3a9866e1530fe87785

  Message:
    package windows: add snapshot package upload target

  Modified files:
    packages/windows/Makefile.am

  Modified: packages/windows/Makefile.am (+17 -10)
===================================================================
--- packages/windows/Makefile.am    2015-07-08 14:30:13 +0900 (955dac5)
+++ packages/windows/Makefile.am    2015-07-08 14:49:32 +0900 (1075509)
@@ -4,6 +4,7 @@ SUBDIRS =					\
 EXTRA_DIST = Rakefile
 LICENSE_DIR = dist-x64/share/license
 ARCHITECTURES = x86 x64
+SUFFIX =
 
 all:
 
@@ -21,6 +22,12 @@ download: ensure-rsync-path
 upload: ensure-rsync-path
 	rsync -avz --progress --delete files/ $(RSYNC_PATH)/windows/groonga
 
+upload-to-tmp:
+	for architecture in $(ARCHITECTURES); do			\
+	  scp $(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX).zip	\
+	    packages �� packages.groonga.org:public/tmp/;			\
+	done
+
 build_options =					\
 	VERSION=$(VERSION)			\
 	SOURCE=$(SOURCE)			\
@@ -111,16 +118,16 @@ installer-x64: LICENSE setup-x64.nsi
 	makensis setup-x64.nsi
 
 package:
-	for architecture in $(ARCHITECTURES); do		\
-	  mkdir -p files;					\
-	  rm -rf files/$(PACKAGE)-$(VERSION)-$${architecture};	\
-	  cp -a dist-$${architecture}				\
-	    files/$(PACKAGE)-$(VERSION)-$${architecture};	\
-	  (cd files &&						\
-	    rm -f $(PACKAGE)-$(VERSION)-$${architecture}.zip;	\
-	    zip -r $(PACKAGE)-$(VERSION)-$${architecture}.zip	\
-	           $(PACKAGE)-$(VERSION)-$${architecture});	\
-	  rm -rf files/$(PACKAGE)-$(VERSION)-$${architecture};	\
+	for architecture in $(ARCHITECTURES); do			\
+	  mkdir -p files;						\
+	  rm -rf files/$(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX);	\
+	  cp -a dist-$${architecture}					\
+	    files/$(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX);	\
+	  (cd files &&							\
+	    rm -f $(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX).zip;	\
+	    zip -r $(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX).zip	\
+	           $(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX));	\
+	  rm -rf files/$(PACKAGE)-$(VERSION)-$${architecture}$(SUFFIX);	\
 	done
 
 SOURCE=../$(PACKAGE)-$(VERSION).tar.gz
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index