Release 1.7.0 (#1386)
- Bump version: 1.6.0 → 1.7.0 - Update changelog - Update changelog contributor credits - Update dependencies - Update man page - Update version references in readme
This commit is contained in:
parent
5e932c49fc
commit
c834fb1e4e
19
CHANGELOG.md
19
CHANGELOG.md
@ -1,6 +1,25 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
[1.7.0](https://github.com/casey/just/releases/tag/1.7.0) - 2022-10-26
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
### Breaking Changes to Unstable Features
|
||||||
|
- Make `fallback` setting default to true (#1384)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Add more case-conversion functions (#1383 by @gVirtu)
|
||||||
|
- Add `tempdir` setting (#1369 by @dmatos2012)
|
||||||
|
- Add [no-exit-message] recipe annotation (#1354 by @gokhanettin)
|
||||||
|
- Add `capitalize(s)` function (#1375 by @femnad)
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
- Credit contributors in changelog (#1385)
|
||||||
|
- Update asdf just plugin repository (#1380 by @kachick)
|
||||||
|
- Prepend commit messages with `- ` in changelog (#1379)
|
||||||
|
- Fail publish if `<sup>master</sup>` is found in README.md (#1378)
|
||||||
|
- Use for loop in capitalize implementation (#1377)
|
||||||
|
|
||||||
[1.6.0](https://github.com/casey/just/releases/tag/1.6.0) - 2022-10-19
|
[1.6.0](https://github.com/casey/just/releases/tag/1.6.0) - 2022-10-19
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
30
Cargo.lock
generated
30
Cargo.lock
generated
@ -247,9 +247,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "getrandom"
|
name = "getrandom"
|
||||||
version = "0.2.7"
|
version = "0.2.8"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6"
|
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"libc",
|
"libc",
|
||||||
@ -303,7 +303,7 @@ checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "just"
|
name = "just"
|
||||||
version = "1.6.0"
|
version = "1.7.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term",
|
"ansi_term",
|
||||||
"atty",
|
"atty",
|
||||||
@ -353,9 +353,9 @@ checksum = "441225017b106b9f902e97947a6d31e44ebcf274b91bdbfb51e5c477fcd468e5"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.135"
|
version = "0.2.137"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "68783febc7782c6c5cb401fbda4de5a9898be1762314da0bb2c10ced61f18b0c"
|
checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "linked-hash-map"
|
name = "linked-hash-map"
|
||||||
@ -544,18 +544,18 @@ checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde"
|
name = "serde"
|
||||||
version = "1.0.145"
|
version = "1.0.147"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b"
|
checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde_derive",
|
"serde_derive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_derive"
|
name = "serde_derive"
|
||||||
version = "1.0.145"
|
version = "1.0.147"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c"
|
checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
@ -596,9 +596,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "snafu"
|
name = "snafu"
|
||||||
version = "0.7.2"
|
version = "0.7.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dd726aec4ebad65756394ff89a9b9598793d4e30121cd71690244c1e497b3aee"
|
checksum = "a152ba99b054b22972ee794cf04e5ef572da1229e33b65f3c57abbff0525a454"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"doc-comment",
|
"doc-comment",
|
||||||
"snafu-derive",
|
"snafu-derive",
|
||||||
@ -606,9 +606,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "snafu-derive"
|
name = "snafu-derive"
|
||||||
version = "0.7.2"
|
version = "0.7.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "712529e9b0b014eabaa345b38e06032767e3dc393e8b017e853b1d7247094e74"
|
checksum = "d5e79cdebbabaebb06a9bdbaedc7f159b410461f63611d4d0e3fb0fab8fed850"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heck 0.4.0",
|
"heck 0.4.0",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
@ -670,9 +670,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "syn"
|
name = "syn"
|
||||||
version = "1.0.102"
|
version = "1.0.103"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3fcd952facd492f9be3ef0d0b7032a6e442ee9b361d4acc2b1d0c4aaa5f613a1"
|
checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "just"
|
name = "just"
|
||||||
version = "1.6.0"
|
version = "1.7.0"
|
||||||
description = "🤖 Just a command runner"
|
description = "🤖 Just a command runner"
|
||||||
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
|
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
|
||||||
license = "CC0-1.0"
|
license = "CC0-1.0"
|
||||||
|
16
README.md
16
README.md
@ -1143,11 +1143,11 @@ The executable is at: /bin/just
|
|||||||
|
|
||||||
#### String Manipulation
|
#### String Manipulation
|
||||||
|
|
||||||
- `capitalize(s)`<sup>master</sup> - Convert first character of `s` to uppercase and the rest to lowercase.
|
- `capitalize(s)`<sup>1.7.0</sup> - Convert first character of `s` to uppercase and the rest to lowercase.
|
||||||
|
|
||||||
- `kebabcase(s)`<sup>master</sup> - Convert `s` to `kebab-case`.
|
- `kebabcase(s)`<sup>1.7.0</sup> - Convert `s` to `kebab-case`.
|
||||||
|
|
||||||
- `lowercamelcase(s)`<sup>master</sup> - Convert `s` to `lowerCamelCase`.
|
- `lowercamelcase(s)`<sup>1.7.0</sup> - Convert `s` to `lowerCamelCase`.
|
||||||
|
|
||||||
- `lowercase(s)` - Convert `s` to lowercase.
|
- `lowercase(s)` - Convert `s` to lowercase.
|
||||||
|
|
||||||
@ -1155,13 +1155,13 @@ The executable is at: /bin/just
|
|||||||
|
|
||||||
- `replace(s, from, to)` - Replace all occurrences of `from` in `s` to `to`.
|
- `replace(s, from, to)` - Replace all occurrences of `from` in `s` to `to`.
|
||||||
|
|
||||||
- `shoutykebabcase(s)`<sup>master</sup> - Convert `s` to `SHOUTY-KEBAB-CASE`.
|
- `shoutykebabcase(s)`<sup>1.7.0</sup> - Convert `s` to `SHOUTY-KEBAB-CASE`.
|
||||||
|
|
||||||
- `shoutysnakecase(s)`<sup>master</sup> - Convert `s` to `SHOUTY_SNAKE_CASE`.
|
- `shoutysnakecase(s)`<sup>1.7.0</sup> - Convert `s` to `SHOUTY_SNAKE_CASE`.
|
||||||
|
|
||||||
- `snakecase(s)`<sup>master</sup> - Convert `s` to `snake_case`.
|
- `snakecase(s)`<sup>1.7.0</sup> - Convert `s` to `snake_case`.
|
||||||
|
|
||||||
- `titlecase(s)`<sup>master</sup> - Convert `s` to `Title Case`.
|
- `titlecase(s)`<sup>1.7.0</sup> - Convert `s` to `Title Case`.
|
||||||
|
|
||||||
- `trim(s)` - Remove leading and trailing whitespace from `s`.
|
- `trim(s)` - Remove leading and trailing whitespace from `s`.
|
||||||
|
|
||||||
@ -1179,7 +1179,7 @@ The executable is at: /bin/just
|
|||||||
|
|
||||||
- `uppercase(s)` - Convert `s` to uppercase.
|
- `uppercase(s)` - Convert `s` to uppercase.
|
||||||
|
|
||||||
- `uppercamelcase(s)`<sup>master</sup> - Convert `s` to `UpperCamelCase`.
|
- `uppercamelcase(s)`<sup>1.7.0</sup> - Convert `s` to `UpperCamelCase`.
|
||||||
|
|
||||||
#### Path Manipulation
|
#### Path Manipulation
|
||||||
|
|
||||||
|
@ -23,18 +23,29 @@ fn author(pr: u64) -> String {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
let mut done = false;
|
||||||
|
|
||||||
fs::write(
|
fs::write(
|
||||||
"CHANGELOG.md",
|
"CHANGELOG.md",
|
||||||
&*Regex::new(r"\(#(\d+)\)").unwrap().replace_all(
|
&*Regex::new(r"\(#(\d+)( by @[a-z]+)?\)")
|
||||||
&fs::read_to_string("CHANGELOG.md").unwrap(),
|
.unwrap()
|
||||||
|captures: &Captures| {
|
.replace_all(
|
||||||
let pr = captures[1].parse().unwrap();
|
&fs::read_to_string("CHANGELOG.md").unwrap(),
|
||||||
match author(pr).as_str() {
|
|captures: &Captures| {
|
||||||
"casey" => format!("(#{})", pr),
|
if captures.get(2).is_some() {
|
||||||
contributor => format!("(#{} by @{})", pr, contributor),
|
done = true;
|
||||||
}
|
}
|
||||||
},
|
if done {
|
||||||
),
|
captures[0].to_owned()
|
||||||
|
} else {
|
||||||
|
let pr = captures[1].parse().unwrap();
|
||||||
|
match author(pr).as_str() {
|
||||||
|
"casey" => format!("(#{})", pr),
|
||||||
|
contributor => format!("(#{} by @{})", pr, contributor),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||||
.TH JUST "1" "October 2022" "just 1.6.0" "Just Manual"
|
.TH JUST "1" "October 2022" "just 1.7.0" "Just Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
just \- save and run commands
|
just \- save and run commands
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
just 1.6.0
|
just 1.7.0
|
||||||
\- Please see https://github.com/casey/just for more information.
|
\- Please see https://github.com/casey/just for more information.
|
||||||
.SS "USAGE:"
|
.SS "USAGE:"
|
||||||
.IP
|
.IP
|
||||||
|
Loading…
Reference in New Issue
Block a user