Git & GitHub Interview Question #83

What is a GitHub release?

GitHub Collaboration, Repository Rules, Issues, Releases & Actions CI/CD Mid-Level Intermediate

Quick Interview Answer

A GitHub release is a published distribution point associated with a Git tag. It can include release notes, generated notes, links to source archives, and uploaded binary assets.

Detailed Explanation

A GitHub release is a published distribution point associated with a Git tag. It can include release notes, generated notes, links to source archives, and uploaded binary assets.

A tag identifies a point in Git history, while a GitHub release adds user-facing release information and downloadable artifacts around that tag.

Code Example

git tag -a v2.0.0 -m "Release 2.0.0"
git push origin v2.0.0

# A GitHub release can then be created for v2.0.0.