Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

A pushed tag is permanent

Why a tag and the release built from it can never be deleted, moved or re-cut once pushed - Packagist caches what it read, users keep what they installed - and the rules that follow for every theme author.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/distribution/a-pushed-tag-is-permanent.md

On this page

A pushed tag is permanent

This page is for every designer who publishes releases. Read it before your first tag.

Why

When you push a tag of a public Composer package:

  • Packagist reads it once and caches the version it found. Anything that resolved that version keeps the contents it saw.
  • Users install it, mirror it, put it into lock files and deploy it.

Git will let you delete or move a tag, but that does not reach those copies. A "fixed" tag produces two different packages wearing the same version number: worse than the original mistake, and impossible to diagnose from outside.

The rules

  1. Never delete, move, re-point or re-cut a pushed tag. Not for a typo in the message, not for a forgotten file, not for a stale archive.
  2. Never replace or edit the assets of a published GitHub release. A corrected asset under the same version is the same problem as a moved tag.
  3. Check what is already published before choosing a number (Checking what is already published).
  4. Verify before you push. Clean working tree, the theme renders, version fields agree, built files match their sources.
  5. If a bad version is published, leave it and publish the next version with the fix, saying plainly in its notes what was wrong (When a release goes wrong).

A checklist before git push origin v<version>

  • To do: git status --short prints nothing.
  • To do: git log --oneline -1 is the release commit.
  • To do: The version fields show the new number (Keeping every version field in sync).
  • To do: The number is higher than every published tag and release.
  • To do: The theme was installed and viewed on a test installation from this commit.
  • To do: The tag message is right (git show v<version> | head -5).

What may still be changed

The text of a GitHub release (its notes) can be corrected when it is wrong, as long as the tag and the assets stay. Say in the notes that they were corrected.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x