Skip to content

Commit a95e3c7

Browse files
committed
Release v0.7.2
1 parent e739168 commit a95e3c7

File tree

5 files changed

+45
-42
lines changed

5 files changed

+45
-42
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.7.2] - 2021-06-10
9+
10+
### Fixed
11+
12+
- `zoxide -V` not printing version.
13+
814
## [0.7.1] - 2021-06-09
915

1016
### Added
@@ -242,6 +248,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
242248
- GitHub Actions pipeline to build and upload releases.
243249
- Support for zsh.
244250

251+
[0.7.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.1...v0.7.2
245252
[0.7.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.0...v0.7.1
246253
[0.7.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.6.0...v0.7.0
247254
[0.6.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.5.0...v0.6.0

Cargo.lock

+28-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zoxide"
3-
version = "0.7.1"
3+
version = "0.7.2"
44
authors = ["Ajeet D'Souza <[email protected]>"]
55
edition = "2018"
66
description = "A smarter cd command for your terminal"

build.rs

+7-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ use std::env;
22
use std::process::Command;
33

44
fn git_version() -> Option<String> {
5-
// Packages releases of zoxide almost always use the source tarball
6-
// provided by GitHub, which does not include the `.git` folder. Since this
7-
// feature is only useful for development, there's no need of printing a
8-
// warning here.
95
let mut git = Command::new("git");
106
git.args(&["describe", "--tags", "--broken"]);
117

128
let output = git.output().ok()?;
9+
if !output.status.success() || output.stdout.is_empty() || !output.stderr.is_empty() {
10+
return None;
11+
}
1312
String::from_utf8(output.stdout).ok()
1413
}
1514

@@ -39,6 +38,10 @@ fn generate_completions() {
3938
}
4039

4140
fn main() {
41+
// Packaged releases of zoxide almost always use the source tarball
42+
// provided by GitHub, which does not include the `.git` folder. Since this
43+
// feature is only useful for development, we can silently fall back to
44+
// using the crate version.
4245
let version = git_version().unwrap_or_else(crate_version);
4346
println!("cargo:rustc-env=ZOXIDE_VERSION={}", version);
4447

man/zoxide-query.1

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ algorithm is described in \fBzoxide\fR(1).
1010
.TP
1111
.B --all
1212
Show deleted directories.
13+
.B --exclude \fIPATH\fR
14+
Exclude a path from query results.
1315
.TP
1416
.B -h, --help
1517
Print help information.

0 commit comments

Comments
 (0)