Skip to content

Commit

Permalink
Make release script work on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Nov 24, 2015
1 parent 2cc2ed3 commit 851ec9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.sh
Expand Up @@ -15,9 +15,9 @@ libs=$(find . -name lib.rs)
release_branch=release-v$new
git checkout -b $release_branch

sed -i -e "s/version = \"$old\"/version = \"$new\"/g" $tomls
sed -i -e "s/version = \"=$old\"/version = \"=$new\"/g" $tomls
sed -i -e "s|doc/v$old|doc/v$new|g" $tomls $libs README.md
sed -i '' -e "s/version = \"$old\"/version = \"$new\"/g" $tomls
sed -i '' -e "s/version = \"=$old\"/version = \"=$new\"/g" $tomls
sed -i '' -e "s|doc/v$old|doc/v$new|g" $tomls $libs README.md

git add .
git commit -ve -m "Release v$new"
Expand Down

0 comments on commit 851ec9c

Please sign in to comment.