Skip to content

Commit

Permalink
Update Version
Browse files Browse the repository at this point in the history
  • Loading branch information
vthg2themax committed Apr 13, 2023
1 parent 329d55b commit 9b0cd62
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 15 deletions.
8 changes: 4 additions & 4 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Dependencies:

```toml
[dependencies]
sailfish = "0.6.0"
sailfish = "0.6.1"
```

Template file (templates/hello.stpl):
Expand Down
2 changes: 1 addition & 1 deletion docs/en/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In order to use sailfish templates, you have add two dependencies in your `Cargo

``` toml
[dependencies]
sailfish = "0.6.0"
sailfish = "0.6.1"
```

## Feature Flags
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish-examples"
version = "0.6.0"
version = "0.6.1"
authors = ["Ryohei Machida <[email protected]>"]
edition = "2018"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion sailfish-compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish-compiler"
version = "0.6.0"
version = "0.6.1"
authors = ["Ryohei Machida <[email protected]>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down
4 changes: 2 additions & 2 deletions sailfish-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish-macros"
version = "0.6.0"
version = "0.6.1"
authors = ["Ryohei Machida <[email protected]>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down Expand Up @@ -30,6 +30,6 @@ proc-macro2 = "1.0.56"

[dependencies.sailfish-compiler]
path = "../sailfish-compiler"
version = "0.6.0"
version = "0.6.1"
default-features = false
features = ["procmacro"]
2 changes: 1 addition & 1 deletion sailfish-tests/fuzzing-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuzzing-tests"
version = "0.6.0"
version = "0.6.1"
authors = ["Ryohei Machida <[email protected]>"]
edition = "2018"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion sailfish-tests/integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "integration-tests"
version = "0.6.0"
version = "0.6.1"
authors = ["Ryohei Machida <[email protected]>"]
edition = "2018"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions sailfish/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish"
version = "0.6.0"
version = "0.6.1"
authors = ["Ryohei Machida <[email protected]>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down Expand Up @@ -29,7 +29,7 @@ serde_json = { version = "1.0.95", optional = true }

[dependencies.sailfish-macros]
path = "../sailfish-macros"
version = "0.6.0"
version = "0.6.1"
optional = true

[build-dependencies]
Expand Down
6 changes: 5 additions & 1 deletion scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ $# != 1 ]; then
exit 1
fi

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

OLD_VERSION="$(cat README.md |grep '^sailfish\s*=' |cut -d '"' -f2)"
Expand All @@ -26,3 +26,7 @@ sed -i -e "s/^\(sailfish.*\) = .*/\1 = \"$NEW_VERSION\"/" README.md
find docs/en -path "*.md" -type f |while read f; do sed -i -e "s/^\(sailfish.*\) = .*/\1 = \"$NEW_VERSION\"/" "$f"; done

cargo update -p sailfish --precise "${NEW_VERSION}"

#update the sailfish-compiler with cargo publish
#update the sailfish-macros with cargo publish
#update the sailfish with cargo publish

0 comments on commit 9b0cd62

Please sign in to comment.