Skip to content

Commit 365d925

Browse files
Add dynamic copy right date (#381)
1 parent e1b16e8 commit 365d925

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

scripts/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ npm run lint
1111
npm run build:ESM
1212
npm run build:UMD
1313
npm run build:entryPoints
14+
npm run build:docs

scripts/buildDocs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const data = `
88
$('footer').append($('<div/>').html('SDK Version - <b>${pkg.version}</b>'));
99
var content = $('.branding-logo').html();
1010
$('.branding-logo').html(content + ' - ${pkg.version}');
11+
12+
$('.copyright').html('Copyright © ' + new Date().getFullYear() + ' Cloudinary.com');
1113
`;
1214
fs.writeFileSync('__DOCS__/resources/injectVersionSemver.js', data);
1315

src/actions/variable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function setInteger(name: string, value: number): SetAction {
8585
* @summary action
8686
* @description Same as 'set', but forces the end value to be a string setString(1) will result in $foo_!1!
8787
* @memberOf Actions.Variable
88-
* @param {string, number} name Variable name
88+
* @param {string | number} name Variable name
8989
* @param {number} value Variable value
9090
* @return {Actions.Variable.SetAction}
9191
*/

0 commit comments

Comments
 (0)