mirror of
https://github.com/metafizzy/isotope.git
synced 2026-10-31 20:15:02 +01:00
8 lines
261 B
JavaScript
8 lines
261 B
JavaScript
const fs = require('fs');
|
|
const version = require('../package.json').version;
|
|
|
|
const file = 'js/isotope.js';
|
|
let src = fs.readFileSync( file, 'utf8' );
|
|
src = src.replace( /Isotope v\d+\.\d+\.\d+/, `Isotope v${version}` );
|
|
fs.writeFileSync( file, src, 'utf8' );
|