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

Bumping the version before the tag

The release commit - write the new number into ezinfo.php, extension.xml and the other version fields, check them, commit, and only then tag that commit - so the tag carries the right number forever.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/distribution/bumping-versions-before-the-tag.md

On this page

Bumping the version before the tag

This page is for whoever cuts a release. The rule is short: raise the version in a commit, then tag that commit. Never tag first and bump afterwards: the tag would carry the old number, and a pushed tag cannot be moved.

Step by step

  1. Choose the number (Choosing a version number). Example: 1.0.25.

  2. Write it, without v, into:

    • ezinfo.php: 'Version' => "1.0.25";
    • extension.xml: <version>1.0.25</version>;
    • composer.json: "version": "1.0.25", only if the file has the field;
    • the header of share/filelist.md5, only if the theme ships one (File checksums).
  3. Add the release to CHANGELOG.md (Keeping a CHANGELOG.md).

  4. Check:

    php -l ezinfo.php
    xmllint --noout extension.xml
    grep -n "'Version'" ezinfo.php; grep -n '<version>' extension.xml
    git status --short

    Expected: no syntax errors, no xmllint output, the same number twice, and only the files you meant to change.

  5. Commit: git commit -am "Updated: Version 1.0.25" (or make it part of the release's last commit).

  6. Tag that commit (Annotated tags):

    git tag -a v1.0.25 -m "v1.0.25: <what this release is about>"
  7. Push the branch and the tag: git push origin main v1.0.25.

  8. Create the release (GitHub releases).

Verify before you push, not after

Before step 7 confirm: the working tree is clean, the theme renders on a test installation, and any built file (compiled CSS) matches its sources. A minute of checking costs less than a version number burned forever.

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