1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02:00

build: improve pump script (#2351)

This commit is contained in:
Jason Rasmussen
2023-04-28 22:10:32 -04:00
committed by GitHub
parent 59d93138d3
commit ce42b84430
3 changed files with 9 additions and 12 deletions

View File

@ -0,0 +1,6 @@
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));