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.
This commit is contained in:
Benjamin Gilbert 2013-04-22 20:27:55 -04:00
parent 15994b688b
commit c7c7b202dd
2 changed files with 6 additions and 5 deletions

View File

@ -57,7 +57,7 @@ module.exports = function(grunt) {
build: ["build"], build: ["build"],
"package": [packageDir], "package": [packageDir],
release: { release: {
src: [releaseRoot], src: [releaseRoot + '*', '!' + releaseRoot + 'releases'],
options: { options: {
force: true force: true
} }
@ -88,7 +88,7 @@ module.exports = function(grunt) {
compress: { compress: {
zip: { zip: {
options: { options: {
archive: "build/" + packageDirName + ".zip", archive: "build/releases/" + packageDirName + ".zip",
level: 9 level: 9
}, },
files: [ files: [
@ -97,7 +97,7 @@ module.exports = function(grunt) {
}, },
tar: { tar: {
options: { options: {
archive: "build/" + packageDirName + ".tar.gz", archive: "build/releases/" + packageDirName + ".tar.gz",
level: 9 level: 9
}, },
files: [ files: [

View File

@ -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/. 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 ## First Time Setup