Skip to content

Commit d579a4c

Browse files
committed
fix pkgx exec
1 parent 8e3e191 commit d579a4c

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

plugin/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "github"
4-
version = "0.6.0"
4+
version = "0.6.1"
55

66
[lib]
77
crate-type = ["cdylib"]

plugin/src/lib.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ pub fn release_upload(args: String) -> FnResult<String> {
66
let stdout = dag()
77
.pipeline("release_upload")?
88
.pkgx()?
9-
.with_packages(vec!["gh", "git"])?
10-
.with_exec(vec!["gh", "release", "upload", &args])?
9+
.with_exec(vec![
10+
"pkgx",
11+
"+gh",
12+
"+git-scm.org",
13+
"gh",
14+
"release",
15+
"upload",
16+
&args,
17+
])?
1118
.stdout()?;
1219
Ok(stdout)
1320
}

0 commit comments

Comments
 (0)