Skip to content

Commit

Permalink
Release v0.5.10 (#613)
Browse files Browse the repository at this point in the history
- Bump version: `0.5.9` -> `0.5.10`
- Update changelog
- Update dependencies
- Update man page
- Update config test
- Fix publish and check recipes
  • Loading branch information
casey authored Mar 18, 2020
1 parent 8fea09a commit 985a6a8
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 68 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Changelog
=========

[v0.5.10] - 2020-3-18
---------------------

[v0.5.9] - 2020-3-18
--------------------
Expand Down
49 changes: 7 additions & 42 deletions Cargo.lock

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

28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "just"
version = "0.5.9"
version = "0.5.10"
description = "🤖 Just a command runner"
authors = ["Casey Rodarmor <[email protected]>"]
license = "CC0-1.0"
Expand All @@ -15,20 +15,20 @@ help4help2man = []
summary = []

[dependencies]
ansi_term = "0.12"
atty = "0.2"
clap = "2.33"
derivative = "1.0.1"
dotenv = "0.15"
edit-distance = "2"
env_logger = "0.7"
lazy_static = "1"
libc = "0.2"
ansi_term = "0.12.0"
atty = "0.2.0"
clap = "2.33.0"
derivative = "2.0.0"
dotenv = "0.15.0"
edit-distance = "2.0.0"
env_logger = "0.7.0"
lazy_static = "1.0.0"
libc = "0.2.0"
log = "0.4.4"
snafu = "0.6"
target = "1"
tempfile = "3"
unicode-width = "0.1"
snafu = "0.6.0"
target = "1.0.0"
tempfile = "3.0.0"
unicode-width = "0.1.0"

[dependencies.ctrlc]
version = "3.1.1"
Expand Down
16 changes: 7 additions & 9 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ filter PATTERN:
build:
cargo build

check:
cargo check

fmt:
cargo +nightly fmt --all

Expand All @@ -57,32 +54,33 @@ version := `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.to
changes:
git log --pretty=format:%s >> CHANGELOG.md

# check run before publishing
publish-check: lint clippy test man
cargo outdated --exit-code 1
git branch | grep '* master'
check: lint clippy test
git diff --no-ext-diff --quiet --exit-code
grep {{version}} CHANGELOG.md
cargo build --features summary
cargo +nightly generate-lockfile -Z minimal-versions
cargo test
git checkout Cargo.lock

publish-check: check man
cargo outdated --exit-code 1

# publish to crates.io and push release tag to github
publish: publish-check
git branch | grep '* master'
cargo +nightly publish
git tag -a {{version}} -m 'Release {{version}}'
git push github {{version}}

push: test
push: check
! git branch | grep '* master'
git push github

pr: push
hub pull-request -o

# clean up feature branch BRANCH
done BRANCH:
done BRANCH=`git rev-parse --abbrev-ref HEAD`:
git checkout master
git diff --no-ext-diff --quiet --exit-code
git pull --rebase github master
Expand Down
7 changes: 5 additions & 2 deletions man/just.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11.
.TH JUST "1" "February 2020" "just 0.5.8" "JUST MANUAL"
.TH JUST "1" "March 2020" "just 0.5.10" "JUST MANUAL"
.SH NAME
just \- save and run commands
.SH DESCRIPTION
just 0.5.8
just 0.5.10
\- Please see https://github.com/casey/just for more information.
.SS "USAGE:"
.IP
Expand Down Expand Up @@ -43,6 +43,9 @@ Suppress all output
\fB\-\-summary\fR
List names of available recipes
.TP
\fB\-\-variables\fR
List names of variables
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Use verbose output
.TP
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ mod tests {
// have proper tests for all the flags, but this will do for now.
#[test]
fn help() {
const EXPECTED_HELP: &str = "just v0.5.9
const EXPECTED_HELP: &str = "just v0.5.10
Casey Rodarmor <[email protected]>
🤖 Just a command runner \
- https://github.com/casey/just
Expand Down

0 comments on commit 985a6a8

Please sign in to comment.