packageversion 0.0.14

Generates a simple packageversion module.

To use this package, run the following command in your project's root directory:

  • packageversion [[][]] [[][]] [[][]] [[][]]

Packageversion is a simple tool to generate or update version information for a dub package. It uses several mechanisms to find this version:

  1. look into DUBPACKAGEDIR dub.json
  2. look into DUBPACKAGEDIR dub.sdl
  3. use git describe in DUBPACKAGEDIR Because of this strategies its possible to generate also version numbers in builds of dependencies of a dub project.

The generated modules register the package (with its version) to the packageversion api, that then can be used to print the projects (and its dependencies versions).

** Prior art In contrast to [[][gen-package-version]] the version is not time dependent which makes builds more reproducible.

Todos * TODO Change api to use a real package version struct that includes name, version, license, ...

  • Christian Köstlin
0.0.19 2020-May-30
0.0.18 2018-Nov-12
0.0.17 2018-Apr-12
0.0.16 2018-Feb-17
0.0.15 2018-Feb-11
Show all 20 versions
Download Stats:
  • 2 downloads today

  • 3 downloads this week

  • 22 downloads this month

  • 616 downloads total

Short URL: