feat(json-edit): added json-edit to update some json content with next global version #14

Merged
kjuulh merged 5 commits from feat/with-jq-edit into main 2023-08-04 19:56:18 +02:00
Showing only changes of commit 19dd0ff636 - Show all commits

View File

@@ -306,12 +306,6 @@ mod please_release {
std::env::var("CUDDLE_PLEASE_TOKEN")?
),
])
.with_exec(vec![
"git",
"config",
"http.extraheader",
"'Authorization: token b52c18cab8a95d33f34b0d081440f77a2b156886'",
])
.with_exec(vec![
"cuddle-please",
"release",
@@ -605,6 +599,7 @@ pub async fn get_base_debian_image(
"pkg-config",
"openssl",
"git",
"jq",
]);
Ok(base_image)
@@ -725,7 +720,9 @@ pub async fn base_rust_image(
.as_ref()
.unwrap_or(&"rustlang/rust:nightly".into()),
)
.with_exec(vec!["rustup", "target", "add", rust_target]);
.with_exec(vec!["rustup", "target", "add", rust_target])
.with_exec(vec!["apt", "update"])
.with_exec(vec!["apt", "install", "-y", "jq"]);
let target_cache = client.cache_volume(format!("rust_target_{}", profile));
let mut build_options = vec!["cargo", "build", "--target", rust_target, "-p", bin_name];