From ccd9b7f4148b7738054287947a7a7eb220dea139 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Mon, 1 Aug 2016 10:39:47 +0200 Subject: [PATCH] Enable reproducible building The current year is embedded into the head of javascript files. Use a fixed date instead. Reproducible builds helps verifying that the generated files are generated from the original sources. See more details at: https://reproducible-builds.org/ --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 10e539b..1a09460 100755 --- a/build.js +++ b/build.js @@ -5,7 +5,7 @@ var fs = require('fs'); var hint = require("jshint").JSHINT; var uglify = require('uglify-js'); -var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-' + (new Date().getFullYear()) + ' Matteo Spinelli ~ http://cubiq.org/license */\n'; +var banner = '/*! iScroll v' + pkg.version + ' ~ (c) 2008-2015 Matteo Spinelli ~ http://cubiq.org/license */\n'; var releases = { lite: { -- 2.1.4