Skip to content

Commit 818ac67

Browse files
committed
chore(release): v0.8.3
1 parent 118a37f commit 818ac67

File tree

6 files changed

+8
-19
lines changed

6 files changed

+8
-19
lines changed

.github/workflows/release.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ jobs:
5353
file: Cargo.toml
5454
field: package.version
5555

56-
- name: Set artifact name
57-
shell: bash
58-
run: |
59-
version="$(git describe --tags --match='v*.*.*' --always)"
60-
name="zoxide-$version-${{ matrix.target }}"
61-
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
62-
63-
echo "version: $version"
64-
echo "artifact: $name"
65-
6656
- name: Install Rust
6757
uses: actions-rs/toolchain@v1
6858
with:
@@ -125,7 +115,7 @@ jobs:
125115
*.zip
126116
127117
- name: Create release
128-
if: startsWith(github.event.head_commit.message, 'chore(release)')
118+
if: ${{ github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'chore(release)') }}
129119
uses: softprops/action-gh-release@v1
130120
with:
131121
draft: true

Cargo.lock

+1-1
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
@@ -10,7 +10,7 @@ name = "zoxide"
1010
readme = "README.md"
1111
repository = "https://github.com/ajeetdsouza/zoxide"
1212
rust-version = "1.62"
13-
version = "0.8.2"
13+
version = "0.8.3"
1414

1515
[badges]
1616
maintenance = { status = "actively-developed" }

build.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ fn main() {
1212
// Since we are generating completions in the package directory, we need to set this so that
1313
// Cargo doesn't rebuild every time.
1414
println!("cargo:rerun-if-changed=build.rs");
15-
println!("cargo:rerun-if-changed=src");
16-
println!("cargo:rerun-if-changed=templates");
17-
println!("cargo:rerun-if-changed=tests");
15+
println!("cargo:rerun-if-changed=src/");
16+
println!("cargo:rerun-if-changed=templates/");
17+
println!("cargo:rerun-if-changed=tests/");
1818

1919
generate_completions().unwrap();
2020
}

shell.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let
22
rust = import (builtins.fetchTarball
3-
"https://github.com/oxalica/rust-overlay/archive/8b4c5bef319198920fd03a916dd5f6600147358b.tar.gz");
3+
"https://github.com/oxalica/rust-overlay/archive/60c2cfaa8b90ed8cebd18b214fac8682dcf222dd.tar.gz");
44
pkgs = import (builtins.fetchTarball
55
"https://github.com/NixOS/nixpkgs/archive/0323e1f8bac882f19905174639a89397db1930f1.tar.gz") {
66
overlays = [ rust ];

src/cmd/query.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ impl Query {
5353
print!("{}", path);
5454
}
5555
} else if self.list {
56-
let stdout = io::stdout();
57-
let handle = &mut stdout.lock();
56+
let handle = &mut io::stdout().lock();
5857
while let Some(dir) = stream.next() {
5958
if self.score {
6059
writeln!(handle, "{}", dir.display_score(now))

0 commit comments

Comments
 (0)