chore(release): v0.8.3
This commit is contained in:
parent
118a37f576
commit
818ac67e7e
|
@ -53,16 +53,6 @@ jobs:
|
||||||
file: Cargo.toml
|
file: Cargo.toml
|
||||||
field: package.version
|
field: package.version
|
||||||
|
|
||||||
- name: Set artifact name
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
version="$(git describe --tags --match='v*.*.*' --always)"
|
|
||||||
name="zoxide-$version-${{ matrix.target }}"
|
|
||||||
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
echo "version: $version"
|
|
||||||
echo "artifact: $name"
|
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -125,7 +115,7 @@ jobs:
|
||||||
*.zip
|
*.zip
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: startsWith(github.event.head_commit.message, 'chore(release)')
|
if: ${{ github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'chore(release)') }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
|
|
|
@ -816,7 +816,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "zoxide"
|
name = "zoxide"
|
||||||
version = "0.8.2"
|
version = "0.8.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"askama",
|
"askama",
|
||||||
|
|
|
@ -10,7 +10,7 @@ name = "zoxide"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/ajeetdsouza/zoxide"
|
repository = "https://github.com/ajeetdsouza/zoxide"
|
||||||
rust-version = "1.62"
|
rust-version = "1.62"
|
||||||
version = "0.8.2"
|
version = "0.8.3"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
maintenance = { status = "actively-developed" }
|
maintenance = { status = "actively-developed" }
|
||||||
|
|
6
build.rs
6
build.rs
|
@ -12,9 +12,9 @@ fn main() {
|
||||||
// Since we are generating completions in the package directory, we need to set this so that
|
// Since we are generating completions in the package directory, we need to set this so that
|
||||||
// Cargo doesn't rebuild every time.
|
// Cargo doesn't rebuild every time.
|
||||||
println!("cargo:rerun-if-changed=build.rs");
|
println!("cargo:rerun-if-changed=build.rs");
|
||||||
println!("cargo:rerun-if-changed=src");
|
println!("cargo:rerun-if-changed=src/");
|
||||||
println!("cargo:rerun-if-changed=templates");
|
println!("cargo:rerun-if-changed=templates/");
|
||||||
println!("cargo:rerun-if-changed=tests");
|
println!("cargo:rerun-if-changed=tests/");
|
||||||
|
|
||||||
generate_completions().unwrap();
|
generate_completions().unwrap();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
let
|
let
|
||||||
rust = import (builtins.fetchTarball
|
rust = import (builtins.fetchTarball
|
||||||
"https://github.com/oxalica/rust-overlay/archive/8b4c5bef319198920fd03a916dd5f6600147358b.tar.gz");
|
"https://github.com/oxalica/rust-overlay/archive/60c2cfaa8b90ed8cebd18b214fac8682dcf222dd.tar.gz");
|
||||||
pkgs = import (builtins.fetchTarball
|
pkgs = import (builtins.fetchTarball
|
||||||
"https://github.com/NixOS/nixpkgs/archive/0323e1f8bac882f19905174639a89397db1930f1.tar.gz") {
|
"https://github.com/NixOS/nixpkgs/archive/0323e1f8bac882f19905174639a89397db1930f1.tar.gz") {
|
||||||
overlays = [ rust ];
|
overlays = [ rust ];
|
||||||
|
|
|
@ -53,8 +53,7 @@ impl Query {
|
||||||
print!("{}", path);
|
print!("{}", path);
|
||||||
}
|
}
|
||||||
} else if self.list {
|
} else if self.list {
|
||||||
let stdout = io::stdout();
|
let handle = &mut io::stdout().lock();
|
||||||
let handle = &mut stdout.lock();
|
|
||||||
while let Some(dir) = stream.next() {
|
while let Some(dir) = stream.next() {
|
||||||
if self.score {
|
if self.score {
|
||||||
writeln!(handle, "{}", dir.display_score(now))
|
writeln!(handle, "{}", dir.display_score(now))
|
||||||
|
|
Loading…
Reference in New Issue