mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
7 lines
286 B
JavaScript
7 lines
286 B
JavaScript
const spec = require('../immich-openapi-specs.json');
|
|
const pkg = require('../package.json');
|
|
const path = require('path');
|
|
const fs = require('fs');
|
|
spec.info.version = pkg.version;
|
|
fs.writeFileSync(path.join(__dirname, '../immich-openapi-specs.json'), JSON.stringify(spec, null, 2));
|