Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Jul 4, 2022
2 parents 5cf32f6 + ec6cc1d commit 5790222
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 6 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "click-house-play",
"version": "1.0.0",
"version": "1.0.2",
"scripts": {
"ng": "ng",
"start": "ng serve --open",
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/home.page/home.page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ <h1>No Data</h1>
>
</div>
<div>
<strong>Read rows:</strong>
<strong>Rows: </strong>
<span>{{
dataForFile?.statistics?.rows_read
}}</span>
</div>
<div>
<strong>Data size:</strong>
<strong>Size: </strong>
<span
>{{
dataForFile?.statistics?.bytes_read
Expand Down

0 comments on commit 5790222

Please sign in to comment.