Bump version: v0.4.1 -> v0.4.2 (#407)
This commit is contained in:
parent
596ea34460
commit
85336f09b0
@ -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
2
Cargo.lock
generated
@ -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)",
|
||||
|
@ -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"
|
||||
|
4
justfile
4
justfile
@ -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}}
|
||||
|
@ -207,8 +207,7 @@ pub fn run() {
|
||||
let i = argument
|
||||
.char_indices()
|
||||
.skip(1)
|
||||
.filter(|&(_, c)| c == '=')
|
||||
.next()
|
||||
.find(|&(_, c)| c == '=')
|
||||
.unwrap()
|
||||
.0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user