Skip to content

Commit

Permalink
Update Cargo.lock, README.md, installation.md, and 7 more files Updat…
Browse files Browse the repository at this point in the history
…e the version, and publish.
  • Loading branch information
vthg2themax committed Jun 22, 2023
1 parent 79b91f7 commit 0a5f6c6
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 16 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.1"
sailfish = "0.7.0"
```

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.1"
sailfish = "0.7.0"
```

## 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.1"
version = "0.7.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
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.1"
version = "0.7.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
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.1"
version = "0.7.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
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.1"
version = "0.7.0"
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.1"
version = "0.7.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
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.1"
version = "0.7.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
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.1"
version = "0.7.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down Expand Up @@ -31,7 +31,7 @@ serde_json = { version = "1.0.95", optional = true }

[dependencies.sailfish-macros]
path = "../sailfish-macros"
version = "0.6.1"
version = "0.7.0"
default-features = false
optional = true

Expand Down
12 changes: 10 additions & 2 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ if [ $# != 1 ]; then
exit 1
fi

SCRIPT_DIR="$( pwd )"
cd $SCRIPT_DIR/..
CURRENT_DIR="$( pwd )"

if [ -z "${CURRENT_DIR##*scripts}" ] ; then
# Go up now, because we are in the scripts directory
cd ..
else
echo "Please enter the scripts directory, and then execute this script.";
exit 1
fi;


OLD_VERSION="$(cat README.md |grep '^sailfish\s*=' |cut -d '"' -f2)"
NEW_VERSION="${1}"
Expand Down

0 comments on commit 0a5f6c6

Please sign in to comment.