mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +03:00
Merge pull request #165 from bgilbert/releases
Update for GitHub-hosted release binaries
This commit is contained in:
commit
8e36f9eead
@ -58,7 +58,7 @@ module.exports = function(grunt) {
|
||||
build: ["build"],
|
||||
package: [packageDir],
|
||||
release: {
|
||||
src: [releaseRoot + '*', '!' + releaseRoot + 'releases'],
|
||||
src: [releaseRoot],
|
||||
options: {
|
||||
force: true
|
||||
}
|
||||
@ -168,8 +168,6 @@ module.exports = function(grunt) {
|
||||
grunt.file.recurse("images", function(abspath, rootdir, subdir, filename) {
|
||||
grunt.file.copy(abspath, "build/openseadragon/images/" + (subdir || "") + filename);
|
||||
});
|
||||
|
||||
grunt.file.copy("changelog.txt", "build/changelog.txt");
|
||||
});
|
||||
|
||||
// ----------
|
||||
@ -191,6 +189,10 @@ module.exports = function(grunt) {
|
||||
// Copies the contents of the build folder into the release folder.
|
||||
grunt.registerTask("copy:release", function() {
|
||||
grunt.file.recurse("build", function(abspath, rootdir, subdir, filename) {
|
||||
if (subdir === 'releases') {
|
||||
return;
|
||||
}
|
||||
|
||||
var dest = releaseRoot
|
||||
+ (subdir ? subdir + "/" : '/')
|
||||
+ filename;
|
||||
|
@ -6,7 +6,7 @@ See it in action and get started using it at http://openseadragon.github.io/.
|
||||
|
||||
## Stable Builds
|
||||
|
||||
See our [releases page](http://openseadragon.github.io/releases/).
|
||||
See the [GitHub releases page](https://github.com/openseadragon/openseadragon/releases).
|
||||
|
||||
## Development
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user