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 [ff32feb3a6]

Artifact ff32feb3a668c12cc60d9ba258404f140a316fe9:

Wiki page [version numbers get/write] by mario 2014-02-08 04:23:37.
D 2014-02-08T04:23:37.323
L version\snumbers\sget/write
P 5fff99697f8c755ee6bd4454adb4a51ccffc1a99
U mario
W 993
<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>

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