Skip to content

Commit

Permalink
Update to 0.3.91 (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni authored Sep 17, 2024
1 parent 3a621eb commit f7caa3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ inputs:
description: "Deprecated. Use `manifest_path` instead."
required: false
version:
description: "Release-plz version to use. (Default: `0.3.90`)."
default: "0.3.90"
description: "Release-plz version to use. (Default: `0.3.91`)."
default: "0.3.91"
required: false
token:
description: "Token used to publish to the cargo registry"
Expand Down
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 f7caa3f

Please sign in to comment.