Skip to content
Discussion options

You must be logged in to vote

The cause

In cargo-smart-release, the perform_release function iterates through the crates that are to be published. One of the steps it does in each iteration is to try to create a tag and, if that succeeds, add it to tag_names. After all crates have been processed, the collected tag names are pushed:

git::push_tags_and_head(&ctx.base.repo, &tag_names, options.clone())?;

This push_tags_and_head function builds and runs a single git push command. This command lists all the tags to be pushed:

for tag_name in tag_names {
    cmd.arg(tag_name.as_bstr().to_str()?);
}

Thus, we push all the tags together. The GitHub Actions documentation on the push event says:

Events will not be created for t…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
6 replies
@Byron
Comment options

@EliahKagan
Comment options

@Byron
Comment options

@EliahKagan
Comment options

@Byron
Comment options

Comment options

You must be logged in to vote
5 replies
@Byron
Comment options

@EliahKagan
Comment options

@Byron
Comment options

@EliahKagan
Comment options

@EliahKagan
Comment options

Answer selected by EliahKagan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants