References: Releases and tags
Primary sources
Section titled “Primary sources”Pro Git by Scott Chacon and Ben Straub. Chapter 2 section 2.6 (Tagging) covers the canonical treatment of tags. Licensed under Creative Commons Attribution Non Commercial Share Alike 3.0 Unported.
Read online at git-scm.com/book/en/v2/Git-Basics-Tagging.
Semantic Versioning Specification at semver.org. The canonical reference for the MAJOR.MINOR.PATCH convention. Short; worth reading once and referring to forever.
Git documentation on tags at git-scm.com/docs/git-tag. The authoritative reference for every flag, including the note that annotated tags are meant for release and lightweight tags for private or temporary labels. Version-aware sorting and its suffix setting are documented under versionsort.suffix in git-scm.com/docs/git-config. Tag auto-following on fetch is described in git-scm.com/docs/git-fetch.
Secondary sources
Section titled “Secondary sources”GitHub Docs, About releases at docs.github.com/en/repositories/releasing-projects-on-github/about-releases. Licensed under Creative Commons Attribution 4.0. Covers the GitHub Releases UI and auto-generated release notes.
GitHub Docs, Automatically generated release notes at docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes. The setup for .github/release.yml and the auto-generation feature.
Atlassian Git Tutorials, Git tag at atlassian.com/git/tutorials/inspecting-a-repository/git-tag. Licensed under Creative Commons Attribution 2.5 Australia.
Further reading
Section titled “Further reading”On automated release pipelines: release-please and semantic-release are two widely used options. Both read Conventional Commits messages. Release-please maintains a release pull request and, when it is merged, updates the changelog, tags the commit, and creates a GitHub release; its README states that it does not publish to package managers and that it is not an official Google product. Semantic-release runs in CI and can publish the package too. Worth exploring for teams releasing frequently.
On Conventional Commits: conventionalcommits.org, the structured commit message format that pairs naturally with automated releases. Covered in L3 as well.
On writing good release notes: several open-source projects have well-regarded release notes worth studying. Astro (astro.build/blog), Vue (vuejs.org/about/releases), and most large-project release notes on GitHub are good models.
On GPG-signed tags: for security-sensitive releases, you can sign tags with GPG to prove authorship. Pro Git Chapter 7 section 7.4 covers it. Beyond this track's scope but worth knowing exists.
What this lesson does not cite
Section titled “What this lesson does not cite”L10 does not cite specific package-manager publishing flows (npm publish, pypi upload, cargo publish, etc.). Each has its own docs, and none of them requires a git tag; the tag is the convention we cover. One example of a tool that creates the tag for you: npm version makes a version commit and tag when run in a git repo.
L10 also does not cite specific CI/CD platforms (GitHub Actions, GitLab CI, Circle CI). Tags trigger these systems; their docs cover the trigger mechanics.
License of this lesson
Section titled “License of this lesson”This lesson is part of the Clawdemy curriculum, licensed under Creative Commons Attribution NonCommercial Share Alike 4.0 International. Pro Git's CC BY-NC-SA 3.0 license and Clawdemy's CC BY-NC-SA 4.0 license are directly aligned (the 4.0 license is an approved compatible adaptation license for 3.0 source material per the 3.0 license's later-versions provision). Commercial use is licensed separately at /legal/licensing.