Skip to content

Commit

Permalink
Merge #51
Browse files Browse the repository at this point in the history
51: Fix pre-release publishing r=matklad a=matklad

bors r+

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
  • Loading branch information
bors[bot] and matklad committed Mar 13, 2022
2 parents c543794 + 37cbc60 commit 11ab785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn publish(sh: &Shell) -> Result<()> {

let tag = format!("v{}", version);
let tags = cmd!(sh, "git tag --list").read()?;
let tag_exists = tags.contains(&tag);
let tag_exists = tags.split_ascii_whitespace().any(|it| it == &tag);

let current_branch = cmd!(sh, "git branch --show-current").read()?;

Expand Down

0 comments on commit 11ab785

Please sign in to comment.