From c7c7b202ddb45560e295c964787326e5242a7910 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Mon, 22 Apr 2013 20:27:55 -0400 Subject: [PATCH] Don't delete old releases from the website It's convenient for old releases to be available indefinitely so that deployment scripts can retrieve a particular qualified version. This won't affect the disk space requirements of the repository, since the old packages will be in the Git history anyhow. Move packages to a subdirectory of the site root to avoid causing permanent clutter. --- Gruntfile.js | 6 +++--- README.md | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 9e6789bd..1d597da2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -57,7 +57,7 @@ module.exports = function(grunt) { build: ["build"], "package": [packageDir], release: { - src: [releaseRoot], + src: [releaseRoot + '*', '!' + releaseRoot + 'releases'], options: { force: true } @@ -88,7 +88,7 @@ module.exports = function(grunt) { compress: { zip: { options: { - archive: "build/" + packageDirName + ".zip", + archive: "build/releases/" + packageDirName + ".zip", level: 9 }, files: [ @@ -97,7 +97,7 @@ module.exports = function(grunt) { }, tar: { options: { - archive: "build/" + packageDirName + ".tar.gz", + archive: "build/releases/" + packageDirName + ".tar.gz", level: 9 }, files: [ diff --git a/README.md b/README.md index 5ccbbae3..db8de64e 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ An open-source, web-based viewer for zoomable images, implemented in pure JavaSc See it in action at http://openseadragon.github.io/. -## Stable Build +## Stable Builds -The latest stable builds are here: [Zip](http://openseadragon.github.io/openseadragon.zip) or [Tar](http://openseadragon.github.io/openseadragon.tar.gz). +Stable builds of OpenSeadragon releases are available +[here](http://openseadragon.github.io/releases/). ## First Time Setup