Tag a Release (marcar um release com tag) - Definição do Glossário CI/CD
Marcar um release com tag anexa um rótulo de versão como v1.4.0 a um commit específico, marcando-o como esse release exato.
Marcar um release com tag (tag a release) é anexar um rótulo de versão (uma tag Git como v1.4.0) a um commit específico para que esse commit seja permanentemente identificável como esse release.
Uma tag de release fixa um release a um commit imutável. No GitHub Actions, enviar (push) uma tag que corresponda a v* é um trigger comum para fazer build de artifacts e publicar um GitHub Release.
Trigger em uma tag
Use on: push: tags: ["v*"] para que um workflow seja executado apenas quando uma tag de versão é enviada, e então faça o build e a publicação a partir dessa tag com actions/checkout no ref da tag.
.github/workflows/release.yml
on:
push:
tags:
- "v*"Guias relacionados
Cut a Release - CI/CD Glossary DefinitionCut a Release: To cut a release is to create the specific, versioned build (often by branching and tagging) t…
Release Notes - CI/CD Glossary DefinitionRelease Notes: Release notes are a human-readable summary of what changed in a release: new features, fixes,…
Semantic Versioning - CI/CD Glossary DefinitionSemantic Versioning: Semantic versioning (SemVer) is a version scheme of MAJOR.MINOR.PATCH where MAJOR marks…