Quick Info

Each time you generate a source package from a project, it automatically increments the build number from the wpkg/build_number file (you may also use another file, see the --build-number-filename for details.) That number is saved in the Build-Number field of your file.

Automating this process ensures that you always get a different build number in each source package. This number can be used in your version specification with the usual variable feature:

Version: 1.2.3.${F:Build-Number}

Note that the build number can only be a decimal number.

  • 1. This field is only generated if building a source package from a project. Otherwise it will not be set by wpkg.
Syndicate content