Command line tool to duplicate/modify version number strings across source code and distribution files according to syntax context.

⌈⌋ ⎇ branch:  version numbers get/write


Artifact [0c2b795515]

Artifact 0c2b795515999308565c484c145ccc1ad2fc4b30:

Wiki page [version numbers get/write] by mario 2014-02-08 12:28:19.
D 2014-02-08T12:28:19.876
L version\snumbers\sget/write
P ff32feb3a668c12cc60d9ba258404f140a316fe9
U mario
W 1101
<h1>version</h1>

This is a commandline tool to *update version numbers* across source code files.

It understands multiple syntax contexts to constrain write operations. And the command arguments can be mixed naturally.

<h4>documentations</h4>

Just running the script displays a simple help (same as atop the code).

But there is also a [manpage|manpage version(1)].

<h4>why?</h4>

It's useful for preparing manual packaging processes, keeping version numbers in sync from source code to documentation and build scripts.

I've been using a dozen variants of this on multiple projects, but each patched to a specific language or too generic. This is a consolidation.

Surely there must be other tools like that, but they're obviously not easy to google.

<h4>download</h4>

<a href=http://apt.include-once.org/>http://apt.include-once.org/</a>

 *  http://apt.include-once.org/version_3.2.2-0.deb
 *  http://apt.include-once.org/version_3.2.1-0.deb

<a href=http://freecode.com/projects/version-numbers-readwrite>http://freecode.com/projects/version-numbers-readwrite</a>
Z 4ab54408adbc9ab396e454cf50e33461