Skip to content

Commit

Permalink
Fixup ps1 bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Junfeng Li committed Dec 22, 2017
1 parent 5f83c67 commit 4ee8df2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ colored = "*"
regex = "*"

[package.metadata.release]
no-dev-version = true
pre-release-replacements = [
{ file = "install.sh", search = "version=.*", replace = "version={{version}}" },
{ file = "install.ps1", search = "$version = .*", replace = "$version = {{version}}" }
{ file = "install.ps1", search = "version = '.*'", replace = "version = '{{version}}'" }
]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ release:
cp -f target/release/languageclient bin/

bump-version:
cargo release --level=patch --no-dev-version
cargo release --level=patch

test:
cargo test
Expand Down

0 comments on commit 4ee8df2

Please sign in to comment.