diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad572c4..c3c5cd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,14 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - name: 'Automated Version Bump' + id: version-bump + if: github.event_name != 'pull_request' + uses: 'phips28/gh-action-bump-version@master' + with: + tag-prefix: 'v' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm install - run: npm run build --if-present @@ -34,3 +42,34 @@ jobs: with: branch: demo folder: dist/ClickHousePlay + + - name: ZIP Release + if: github.event_name != 'pull_request' + uses: thedoctor0/zip-release@main + with: + type: 'zip' + filename: 'release.zip' + directory: 'dist/ClickHousePlay' + + - name: Get Timestamp + if: github.event_name != 'pull_request' + id: time + uses: nanzm/get-time-action@v1.1 + with: + timeZone: 0 + format: 'YYYYMMDDHHmmss' + + - name: Upload release + if: github.event_name != 'pull_request' + uses: boxpositron/upload-multiple-releases@1.0.7 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + release_config: | + dist/ClickHousePlay/release.zip + release.zip + release_name: clickhouse-mate_${{ steps.version-bump.outputs.newTag }} + tag_name: ${{ steps.time.outputs.time }} + draft: false + prerelease: false + overwrite: true diff --git a/README.md b/README.md index d426e35..823bdee 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,14 @@ Advanced Clickhouse _"play"_ Client and User-Interface - ClickHouse SQL Query autocompletion - Fast Database and Table tree navigation - Advanced result Filtering and Sorting +- Inline ClickHouse SQL documentation - Query Presets and History - HTTP/S connection support - 100% Web Client, no server/backend ### Usage -Use the [public version](https://metrico.github.io/clickhouse-mate/) _(no data goes through the server)_ or build your own: +Use the [public version](https://metrico.github.io/clickhouse-mate/) _(no data goes through the server)_, download the [latest build release](https://github.com/metrico/clickhouse-mate/releases/latest/download/release.zip) or build your own: ``` git clone https://github.com/metrico/clickhouse-mate @@ -33,4 +34,4 @@ npm start ### License -Licensed under [AGPLv3](LICENSE), sponsored by [qxip/metrico](https://metrico.in) as part of the [cLoki](https://cloki.org) project +Licensed under [AGPLv3](LICENSE), sponsored by [qxip/metrico](https://metrico.in) as part of the [qryn](https://cloki.org) project diff --git a/package-lock.json b/package-lock.json index 34acefb..8d36229 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "click-house-play", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 60e84ea..2b7bc58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "click-house-play", - "version": "1.0.0", + "version": "1.0.2", "scripts": { "ng": "ng", "start": "ng serve --open", diff --git a/src/app/pages/home.page/home.page.component.html b/src/app/pages/home.page/home.page.component.html index c63ecce..19406d6 100644 --- a/src/app/pages/home.page/home.page.component.html +++ b/src/app/pages/home.page/home.page.component.html @@ -140,13 +140,13 @@