Skip to content

Commit

Permalink
0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Feb 2, 2019
1 parent 161549d commit c4caa4d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "insta"
version = "0.6.0"
version = "0.6.1"
license = "Apache-2.0"
authors = ["Armin Ronacher <[email protected]>"]
description = "A snapshot testing library for Rust"
Expand Down
4 changes: 2 additions & 2 deletions cargo-insta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-insta"
version = "0.6.0"
version = "0.6.1"
license = "Apache-2.0"
authors = ["Armin Ronacher <[email protected]>"]
description = "A review tool for the insta snapshot testing library for Rust"
Expand All @@ -11,7 +11,7 @@ edition = "2018"
readme = "README.md"

[dependencies]
insta = { version = "0.6.0", path = ".." }
insta = { version = "0.6.1", path = ".." }
console = "0.7.5"
clap = "2.32.0"
difference = "2.0.0"
Expand Down
11 changes: 11 additions & 0 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail

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

NEW_VERSION="${1}"

echo "Bumping version: ${NEW_VERSION}"
perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" Cargo.toml
perl -pi -e "s/^(insta.*)?version = \".*?\"/\$1version = \"$NEW_VERSION\"/" cargo-insta/Cargo.toml

0 comments on commit c4caa4d

Please sign in to comment.