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

Checking what is already published

Before choosing a version number, list the tags on the remote, the GitHub releases and the versions Packagist knows, because each can know something the others do not.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/distribution/checking-what-is-already-published.md

On this page

Checking what is already published

This page is for whoever is about to release a theme. Do this at the start of every release, even if you released yesterday: someone else, or a script, may have released since.

Step by step

  1. Tags on the remote:

    git fetch --tags
    git tag -l 'v*' --sort=version:refname | tail -5
    git ls-remote --tags origin | tail -5

    ls-remote shows what the server has even if your fetch was refused for some reason.

  2. GitHub releases:

    gh release list --limit 10
  3. What Packagist knows (for a Composer package):

    curl -s https://repo.packagist.org/p2/yourvendor/mytheme.json | grep -o '"version":"[^"]*"' | head -5

    The first entries are the newest versions.

  4. Take the highest number from all three. That is the number to raise (Choosing a version number).

When the lists disagree

SituationMeaningAction
A tag without a releaseA release was not finishedCreate the release for that tag; do not reuse its number
A release whose tag your clone lacksYour clone is behindgit fetch --tags
Packagist behind the tagsThe update hook is missing or failedPackagist shows an old version
Packagist ahead of your tagsA tag was deleted after Packagist read itNever reuse that number; release the next one

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