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

Keeping every version field in sync

A theme's version number lives in up to five places; the list, the order in which to change them before a release, and a one-minute check that they agree.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/keeping-version-fields-in-sync.md

On this page

Keeping every version field in sync

This page is for whoever releases a theme. Installations, the About page, Packagist and your users all read the version from different files. When the files disagree, nobody can tell which release is installed.

Where the version lives

PlaceFormRequired
ezinfo.php 'Version'1.0.4yes
extension.xml <version>1.0.4yes
composer.json version1.0.4only if you keep the field (Packagist reads the tag when it is absent)
share/filelist.md5 headeras the file states itonly if the theme ships one (File checksums)
The git tagv1.0.4 (or 1.0.4 if your repository tags without v)yes, for every release

The order

  1. Choose the number from what is already published, never from memory (Checking what is already published).
  2. Write it into every file of the table.
  3. Commit ("Updated: Version 1.0.4", or as part of the release's last commit).
  4. Tag that commit and push both.

Never tag first and bump afterwards: the tag would carry the old number, and a pushed tag is permanent (A pushed tag is permanent).

The one-minute check

Run in the theme's folder:

grep -n "'Version'" ezinfo.php
grep -n '<version>' extension.xml
grep -n '"version"' composer.json
php -l ezinfo.php
xmllint --noout extension.xml

Expected: the same number on the first two (and the third if present), No syntax errors detected in ezinfo.php, and no output from xmllint.

When they already disagree

  • If nothing has been released with the wrong numbers yet: fix the files, then release.
  • If a release went out with mismatched files: do not move its tag. Publish the next version with the files corrected and say so in its notes (When a release goes wrong).

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