mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
added npm publish --tag
This commit is contained in:
@@ -57,112 +57,120 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn setCurrentVersion
|
yarn setCurrentVersion
|
||||||
|
|
||||||
|
- name: Compute npm dist-tag
|
||||||
|
run: |
|
||||||
|
if [[ "${GITHUB_REF_NAME}" =~ -alpha\. ]]; then
|
||||||
|
echo "NPM_TAG=alpha" >> $GITHUB_ENV
|
||||||
|
else
|
||||||
|
echo "NPM_TAG=latest" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Publish types
|
- name: Publish types
|
||||||
working-directory: packages/types
|
working-directory: packages/types
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish tools
|
- name: Publish tools
|
||||||
working-directory: packages/tools
|
working-directory: packages/tools
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish sqltree
|
- name: Publish sqltree
|
||||||
working-directory: packages/sqltree
|
working-directory: packages/sqltree
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish api
|
- name: Publish api
|
||||||
working-directory: packages/api
|
working-directory: packages/api
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish datalib
|
- name: Publish datalib
|
||||||
working-directory: packages/datalib
|
working-directory: packages/datalib
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish filterparser
|
- name: Publish filterparser
|
||||||
working-directory: packages/filterparser
|
working-directory: packages/filterparser
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish web
|
- name: Publish web
|
||||||
working-directory: packages/web
|
working-directory: packages/web
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-serve
|
- name: Publish dbgate-serve
|
||||||
working-directory: packages/serve
|
working-directory: packages/serve
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbmodel
|
- name: Publish dbmodel
|
||||||
working-directory: packages/dbmodel
|
working-directory: packages/dbmodel
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-csv
|
- name: Publish dbgate-plugin-csv
|
||||||
working-directory: plugins/dbgate-plugin-csv
|
working-directory: plugins/dbgate-plugin-csv
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-xml
|
- name: Publish dbgate-plugin-xml
|
||||||
working-directory: plugins/dbgate-plugin-xml
|
working-directory: plugins/dbgate-plugin-xml
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-excel
|
- name: Publish dbgate-plugin-excel
|
||||||
working-directory: plugins/dbgate-plugin-excel
|
working-directory: plugins/dbgate-plugin-excel
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-mssql
|
- name: Publish dbgate-plugin-mssql
|
||||||
working-directory: plugins/dbgate-plugin-mssql
|
working-directory: plugins/dbgate-plugin-mssql
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-mysql
|
- name: Publish dbgate-plugin-mysql
|
||||||
working-directory: plugins/dbgate-plugin-mysql
|
working-directory: plugins/dbgate-plugin-mysql
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-mongo
|
- name: Publish dbgate-plugin-mongo
|
||||||
working-directory: plugins/dbgate-plugin-mongo
|
working-directory: plugins/dbgate-plugin-mongo
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-postgres
|
- name: Publish dbgate-plugin-postgres
|
||||||
working-directory: plugins/dbgate-plugin-postgres
|
working-directory: plugins/dbgate-plugin-postgres
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-sqlite
|
- name: Publish dbgate-plugin-sqlite
|
||||||
working-directory: plugins/dbgate-plugin-sqlite
|
working-directory: plugins/dbgate-plugin-sqlite
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-redis
|
- name: Publish dbgate-plugin-redis
|
||||||
working-directory: plugins/dbgate-plugin-redis
|
working-directory: plugins/dbgate-plugin-redis
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-oracle
|
- name: Publish dbgate-plugin-oracle
|
||||||
working-directory: plugins/dbgate-plugin-oracle
|
working-directory: plugins/dbgate-plugin-oracle
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-clickhouse
|
- name: Publish dbgate-plugin-clickhouse
|
||||||
working-directory: plugins/dbgate-plugin-clickhouse
|
working-directory: plugins/dbgate-plugin-clickhouse
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-dbf
|
- name: Publish dbgate-plugin-dbf
|
||||||
working-directory: plugins/dbgate-plugin-dbf
|
working-directory: plugins/dbgate-plugin-dbf
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|
||||||
- name: Publish dbgate-plugin-cassandra
|
- name: Publish dbgate-plugin-cassandra
|
||||||
working-directory: plugins/dbgate-plugin-cassandra
|
working-directory: plugins/dbgate-plugin-cassandra
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish --tag "$NPM_TAG"
|
||||||
|
|||||||
Reference in New Issue
Block a user