Skip to content

Commit

Permalink
Fix release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jez committed May 18, 2020
1 parent 4dec1ac commit c82bab2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tools/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ sed -i.bak -e "s/version = \"[^\"]*\"/version = \"$version\"/" Cargo.toml src/BU
rm Cargo.toml.bak src/BUILD.bak
cargo generate-lockfile --offline

bazel test --test_output=errors //test:update_cli/version/version.sh
bazel test --test_output=errors //test:update_test/cli/version/run.sh

git add Cargo.toml src/BUILD test/cli/version/version.sh.exp
git add Cargo.toml Cargo.lock src/BUILD test/cli/version/run.sh.exp

git commit -m "Release version $version"
git tag "$version"
Expand Down

0 comments on commit c82bab2

Please sign in to comment.