2 Commits

Author SHA1 Message Date
0cfd38e682 chore(release) git pull should not cause error if no upstream
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-10 20:21:11 +01:00
a1f337dac2 Update all dependencies
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-12-22 19:46:31 +00: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@v2 uses: actions/checkout@v3
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@v1 uses: Swatinem/rust-cache@v2
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@v2 uses: actions/upload-artifact@v3
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.29" version = "4.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d63b9e9c07271b9957ad22c173bae2a4d9a81127680962039296abcd2f8251d" checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"clap_lex", "clap_lex",
@@ -316,7 +316,7 @@ dependencies = [
[[package]] [[package]]
name = "toolkit" name = "toolkit"
version = "0.1.9" version = "0.1.10"
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.9" version = "0.1.10"
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.29", features = ["cargo"] } clap = { version = "4.0.32", 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 {
util::shell::run( let _ = 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)