1 Commits

Author SHA1 Message Date
38dd5a7ab7 chore(release) fix errors 2022-12-19 10:00:53 +01:00
4 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ jobs:
release-target: darwin-arm64 release-target: darwin-arm64
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
@@ -60,7 +60,7 @@ jobs:
target: ${{ matrix.target }} target: ${{ matrix.target }}
- name: Setup cache - name: Setup cache
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v1
with: with:
key: ${{ matrix.target }} key: ${{ matrix.target }}
@@ -94,7 +94,7 @@ jobs:
| gzip --best | gzip --best
> 'toolkit-${{ steps.get_version.outputs.value }}-${{ matrix.release-target }}.tar.gz' > 'toolkit-${{ steps.get_version.outputs.value }}-${{ matrix.release-target }}.tar.gz'
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v2
with: with:
name: ${{ matrix.release-target }} name: ${{ matrix.release-target }}
path: | path: |

6
Cargo.lock generated
View File

@@ -22,9 +22,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.0.32" version = "4.0.29"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39" checksum = "4d63b9e9c07271b9957ad22c173bae2a4d9a81127680962039296abcd2f8251d"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"clap_lex", "clap_lex",
@@ -316,7 +316,7 @@ dependencies = [
[[package]] [[package]]
name = "toolkit" name = "toolkit"
version = "0.1.10" version = "0.1.8"
dependencies = [ dependencies = [
"clap", "clap",
"eyre", "eyre",

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "toolkit" name = "toolkit"
description = "Toolkit is an opinionated toolkit complementing a personal development workflow. Many of the commands are quite verbose, and well suited for adding to your shell toolbelt" description = "Toolkit is an opinionated toolkit complementing a personal development workflow. Many of the commands are quite verbose, and well suited for adding to your shell toolbelt"
version = "0.1.10" version = "0.1.9"
edition = "2021" edition = "2021"
license-file = "LICENSE" license-file = "LICENSE"
authors = ["Kasper J. Hermansen contact@kjuulh.io"] authors = ["Kasper J. Hermansen contact@kjuulh.io"]
@@ -17,7 +17,7 @@ members = [
] ]
[workspace.dependencies] [workspace.dependencies]
clap = { version = "4.0.32", features = ["cargo"] } clap = { version = "4.0.29", features = ["cargo"] }
eyre = "0.6.8" eyre = "0.6.8"
dirs = "4.0.0" dirs = "4.0.0"
walkdir = "2.3.2" walkdir = "2.3.2"

View File

@@ -202,12 +202,12 @@ impl FuzzyClone {
}), }),
)?; )?;
} else { } else {
let _ = util::shell::run( util::shell::run(
&["git", "pull"], &["git", "pull"],
Some(util::shell::RunOptions { Some(util::shell::RunOptions {
path: git_repo_path.clone(), path: git_repo_path.clone(),
}), }),
); )?;
} }
Ok(git_repo_path) Ok(git_repo_path)