Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni committed Sep 17, 2024
1 parent d664e06 commit 8b5fe4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions updater/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ pub fn latest_release(repo: &str) -> String {
}

fn verify_release_plz_tag(release_plz_tag: &str) {
if !release_plz_tag.starts_with("release-plz-v") {
if !release_plz_tag.starts_with("0.3") {
panic!("latest tag `{release_plz_tag}` is not a release-plz tag. Probably you just need to wait until the release is published");
}
let release_plz_tag = format!("release-plz-v{}", release_plz_tag);
// run: gh release view {tag} --repo MarcoIeni/release-plz --json assets --jq '.assets | length'
let output = Command::new("gh")
.args([
"release",
"view",
release_plz_tag,
&release_plz_tag,
"--repo",
RELEASE_PLZ_REPO,
"--json",
Expand Down

0 comments on commit 8b5fe4a

Please sign in to comment.