This commit is contained in:
Jan Prochazka 2021-04-15 17:56:35 +02:00
parent 1cc955f997
commit 9139ff0f44
3 changed files with 42 additions and 0 deletions

View File

@ -89,3 +89,33 @@ jobs:
working-directory: packages/dbgate
run: |
npm publish
- name: Publish dbgate-plugin-csv
working-directory: plugins/dbgate-plugin-csv
run: |
npm publish
- name: Publish dbgate-plugin-excel
working-directory: plugins/dbgate-plugin-excel
run: |
npm publish
- name: Publish dbgate-plugin-mssql
working-directory: plugins/dbgate-plugin-mssql
run: |
npm publish
- name: Publish dbgate-plugin-mysql
working-directory: plugins/dbgate-plugin-mysql
run: |
npm publish
- name: Publish dbgate-plugin-mongo
working-directory: plugins/dbgate-plugin-mongo
run: |
npm publish
- name: Publish dbgate-plugin-postgres
working-directory: plugins/dbgate-plugin-postgres
run: |
npm publish

View File

@ -48,6 +48,10 @@ function packagedPluginsDir() {
if (platformInfo.isDocker) {
return path.resolve(__dirname, 'plugins');
}
if (process.argv[2] == 'startNodeWeb') {
// node_modules
return path.resolve(__dirname, '../../..');
}
return path.resolve(__dirname, '../../plugins');
}

View File

@ -30,6 +30,7 @@ module.exports = {
fs.writeFileSync('packages/api/src/currentVersion.js', text);
changePackageFile('app', json.version);
changePackageFile('packages/api', json.version);
changePackageFile('packages/sqltree', json.version);
changePackageFile('packages/types', json.version);
@ -38,3 +39,10 @@ changePackageFile('packages/web', json.version);
changePackageFile('packages/datalib', json.version);
changePackageFile('packages/dbgate', json.version);
changePackageFile('packages/filterparser', json.version);
changePackageFile('plugins/dbgate-plugin-csv', json.version);
changePackageFile('plugins/dbgate-plugin-excel', json.version);
changePackageFile('plugins/dbgate-plugin-mssql', json.version);
changePackageFile('plugins/dbgate-plugin-mysql', json.version);
changePackageFile('plugins/dbgate-plugin-mongo', json.version);
changePackageFile('plugins/dbgate-plugin-postgres', json.version);