Add tdb-bench to bundle

next
Sayan Nandan 4 years ago
parent 6f3fea8ebc
commit 689345cc90
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -7,5 +7,5 @@ build:
- ./*.toml
- ./*.lock
workflow:
- ./.github/*.yml
- ./.github/**/*.yml
- .github/*.yml
- .github/**/*.yml

@ -8,6 +8,7 @@ name: Release
env:
RELEASE_TDB: tdb
RELEASE_TSH: tsh
RELEASE_BENCH: tdb-bench
RELEASE_DIR: artifacts
GITHUB_REF: "${{ github.ref }}"
WINDOWS_TARGET: x86_64-pc-windows-msvc
@ -104,6 +105,7 @@ jobs:
run: |
mv ./target/${{ env.LINUX_TARGET }}/release/${{ env.RELEASE_TDB }} ./dist
mv ./target/${{ env.LINUX_TARGET }}/release/${{ env.RELEASE_TSH }} ./dist
mv ./target/${{ env.LINUX_TARGET }}/release/${{ env.RELEASE_BENCH }} ./dist
zip ./${{ env.RELEASE_DIR}}/tdb-bundle-${{ steps.get_version.outputs.VERSION }}-${{ env.LINUX64_NAME }}.zip ./dist/tsh ./dist/tdb -j
- name: Create Build (Windows)
@ -112,6 +114,7 @@ jobs:
run: |
mv ./target/release/${{ env.RELEASE_TDB }}.exe ./dist
mv ./target/release/${{ env.RELEASE_TSH }}.exe ./dist
mv ./target/release/${{ env.RELEASE_BENCH }}.exe ./dist
7z a -tzip ./${{ env.RELEASE_DIR }}/tdb-bundle-${{ steps.get_version.outputs.VERSION }}-${{ env.WINDOWS64_NAME }}.zip ./dist/*
- name: Create Build (MacOS)
@ -119,6 +122,7 @@ jobs:
run: |
mv ./target/release/${{ env.RELEASE_TDB }} ./dist
mv ./target/release/${{ env.RELEASE_TSH }} ./dist
mv ./target/release/${{ env.RELEASE_BENCH }} ./dist
zip ./${{ env.RELEASE_DIR }}/tdb-bundle-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS64_NAME }}.zip ./dist/tsh ./dist/tdb -j
- name: Upload binaries

@ -2,6 +2,12 @@
All changes in this project will be noted in this file.
## Version 0.3.2 [2020-08-07]
> No breaking changes
The `tsh` component printed the wrong version number. This has been fixed.
## Version 0.3.1 [2020-08-05]
> This release introduces breaking changes

6
Cargo.lock generated

@ -51,7 +51,7 @@ dependencies = [
[[package]]
name = "corelib"
version = "0.3.1"
version = "0.3.2"
dependencies = [
"bytes",
"lazy_static",
@ -419,7 +419,7 @@ dependencies = [
[[package]]
name = "tdb"
version = "0.3.1"
version = "0.3.2"
dependencies = [
"bincode",
"bytes",
@ -465,7 +465,7 @@ dependencies = [
[[package]]
name = "tsh"
version = "0.3.1"
version = "0.3.2"
dependencies = [
"bytes",
"corelib",

@ -1,6 +1,6 @@
[package]
name = "tsh"
version = "0.3.1"
version = "0.3.2"
authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018"

@ -22,7 +22,7 @@
mod argparse;
mod protocol;
use tokio;
const MSG_WELCOME: &'static str = "TerrabaseDB v0.3.1";
const MSG_WELCOME: &'static str = "TerrabaseDB v0.3.2";
#[tokio::main]
async fn main() {

@ -1,6 +1,6 @@
[package]
name = "corelib"
version = "0.3.1"
version = "0.3.2"
authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018"

@ -1,6 +1,6 @@
[package]
name = "tdb"
version = "0.3.1"
version = "0.3.2"
authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018"

@ -29,7 +29,7 @@ use coredb::CoreDB;
use dbnet::run;
use tokio::signal;
static ADDR: &'static str = "127.0.0.1:2003";
static MSG: &'static str = "TerrabaseDB v0.3.1 | https://github.com/terrabasedb/terrabase\nServer running on terrapipe://127.0.0.1:2003";
static MSG: &'static str = "TerrabaseDB v0.3.2 | https://github.com/terrabasedb/terrabase\nServer running on terrapipe://127.0.0.1:2003";
static TEXT: &'static str =
" _______ _ _____ ____
|__ __| | | | __ \\ | _ \\

Loading…
Cancel
Save