Skip to content

Commit

Permalink
Merge pull request #21 from snipsco/task/bunp-to-0.9.0
Browse files Browse the repository at this point in the history
Bump to 0.9.0 and add a script for that
  • Loading branch information
hdlj authored Jul 11, 2018
2 parents 62ae917 + 2673c23 commit fd8084b
Show file tree
Hide file tree
Showing 4 changed files with 18 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 = "rustling"
version = "0.8.1"
version = "0.9.0"
authors = ["hdlj <[email protected]>", "Mathieu Poumeyrol <[email protected]>"]

[workspace]
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 = "rustling-core"
version = "0.8.1"
version = "0.9.0"
authors = ["hdlj <[email protected]>", "Mathieu Poumeyrol <[email protected]>"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ml/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustling-ml"
version = "0.8.1"
version = "0.9.0"
authors = ["hdlj <[email protected]>", "Mathieu Poumeyrol <[email protected]>"]

[dependencies]
Expand Down
15 changes: 15 additions & 0 deletions update_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

#!/usr/bin/env bash

set -e

NEW_VERSION=$1

if [ -z $NEW_VERSION ]
then
echo "Usage: $0 NEW_VERSION"
exit 1
fi

perl -p -i -e "s/^version = \".*\"\$/version = \"$NEW_VERSION\"/g" Cargo.toml
perl -p -i -e "s/^version = \".*\"\$/version = \"$NEW_VERSION\"/g" */Cargo.toml

0 comments on commit fd8084b

Please sign in to comment.