Skip to contents

Maps artifact names back to the tags they were derived from, so the result can be used as a clone ref. Parsing the version out of the name would lose a leading v stripped by artifact_version().

Usage

tags_for_artifacts(tags, artifacts, selected)

Arguments

tags

Character vector of git refs.

artifacts

Artifact names derived from tags, in the same order.

selected

Subset of artifacts whose refs to return.

Value

Character vector of refs, one per element of selected.