Bump version: v0.4.1 -> v0.4.2 (#407)

This commit is contained in:
Casey Rodarmor 2019-04-15 23:39:18 -07:00 committed by GitHub
parent 596ea34460
commit 85336f09b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## [v0.4.2] - 2019-04-12
### Changed
- Regex-based lexer replaced with much nicer character-at-a-time lexer (#406)
## [v0.4.1] - 2019-04-12
### Changed
- Make summary function non-generic (#404)

2
Cargo.lock generated
View File

@ -190,7 +190,7 @@ dependencies = [
[[package]]
name = "just"
version = "0.4.1"
version = "0.4.2"
dependencies = [
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,6 +1,6 @@
[package]
name = "just"
version = "0.4.1"
version = "0.4.2"
description = "🤖 Just a command runner"
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
license = "CC0-1.0"

View File

@ -39,10 +39,12 @@ watch COMMAND='test':
version = `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml | head -1`
# publish to crates.io
publish: lint clippy test
publish-check: lint clippy test
git branch | grep '* master'
git diff --no-ext-diff --quiet --exit-code
grep {{version}} CHANGELOG.md
publish: publish-check
cargo publish
git tag -a {{version}} -m 'Release {{version}}'
git push github {{version}}

View File

@ -207,8 +207,7 @@ pub fn run() {
let i = argument
.char_indices()
.skip(1)
.filter(|&(_, c)| c == '=')
.next()
.find(|&(_, c)| c == '=')
.unwrap()
.0;