Skip to content

Commit

Permalink
chore: bump version to v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Oct 16, 2023
1 parent 6d310e2 commit 04a09b9
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion adaptor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "adaptor"
version = "0.1.0"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "app"
version = "0.1.0"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "config"
version = "0.1.0"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion config/preset/theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cwd = { fg = "cyan" }

# Hovered
hovered = { fg = "#000000", bg = "blue" }
hovered = { fg = "black", bg = "blue" }
preview_hovered = { underline = true }

# Find
Expand Down
3 changes: 1 addition & 2 deletions config/src/boot/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ pub struct Boot {
}

#[derive(Debug, Parser)]
#[command(name = "yazi")]
#[command(version = "0.1.4")]
#[command(name = "yazi", version)]
struct Args {
/// Set the current working directory
#[arg(index = 1)]
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "core"
version = "0.1.0"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plugin"
version = "0.1.0"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down
6 changes: 6 additions & 0 deletions build.sh → scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/bin/bash
set -euo pipefail

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/..

cargo +stable build --release --target aarch64-apple-darwin
cargo +stable build --release --target x86_64-apple-darwin
cargo +stable build --release --target x86_64-unknown-linux-gnu
Expand Down
10 changes: 10 additions & 0 deletions scripts/bump.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -euo pipefail

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/..

echo "Bumping version: $1"

TOML_FILES="$(git ls-files '*Cargo.toml')"
perl -pi -e "s/^version = .*\$/version = \"$1\"/" $TOML_FILES
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shared"
version = "0.1.0"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 04a09b9

Please sign in to comment.