mirror of
https://github.com/immich-app/immich.git
synced 2025-07-15 20:38:26 +02:00
build: improve pump script (#2351)
This commit is contained in:
parent
59d93138d3
commit
ce42b84430
3 changed files with 9 additions and 12 deletions
server/bin
6
server/bin/sync-spec-version.js
Normal file
6
server/bin/sync-spec-version.js
Normal 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));
|
Loading…
Add table
Add a link
Reference in a new issue