Kentaro Hayashi 2019-05-22 11:17:49 +0900 (Wed, 22 May 2019) Revision: 56de7069f3a98bcb4e77d0cecd6e9595bca4c138 https://github.com/groonga/groonga/commit/56de7069f3a98bcb4e77d0cecd6e9595bca4c138 Message: packages windows: create symbolic links to latest archives Modified files: packages/windows/Makefile.am Modified: packages/windows/Makefile.am (+18 -1) =================================================================== --- packages/windows/Makefile.am 2019-05-21 18:41:12 +0900 (a4a464ef1) +++ packages/windows/Makefile.am 2019-05-22 11:17:49 +0900 (4a3f9e5cf) @@ -16,10 +16,27 @@ ensure-rsync-path: false; \ fi +ensure-latest-archive: + cd files && \ + for architecture in $(ARCHITECTURES); do \ + zip_base=$(PACKAGE)-$(VERSION)-$${architecture}; \ + latest_base=$(PACKAGE)-latest-$${architecture}; \ + ln -sf $${zip_base}.zip $${latest_base}.zip; \ + ln -sf $${zip_base}.exe $${latest_base}.exe; \ + zip_vs2017=$${zip_base}-vs2017.zip; \ + if [ -f $${zip_vs2017} ]; then \ + ln -sf $${zip_vs2017} $${latest_base}-vs2017.zip; \ + fi; \ + zip_vs2017runtime=$${zip_base}-vs2017-with-vcruntime.zip; \ + if [ -f $${zip_vs2017runtime} ]; then \ + ln -sf $${zip_vs2017runtime} $${latest_base}-vs2017-with-vcruntime.zip; \ + fi; \ + done + download: ensure-rsync-path rsync -avz --progress --delete $(RSYNC_PATH)/windows/groonga/ files -upload: ensure-rsync-path +upload: ensure-rsync-path ensure-latest-archive rsync -avz --progress --delete files/ $(RSYNC_PATH)/windows/groonga rsync -avz --progress --delete source/ \ $(RSYNC_PATH)/windows/groonga/$(PACKAGE)-$(VERSION)$(SUFFIX) -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190522/32e801ee/attachment.html>