Is it possible to automatically insert the version number into the code using the bazaar?

I am currently working on a coding project using bzr source code management software (bazaar). I would like to include the version number in the file code of my project

So that I can call the "VERSION" variable and drop the current working version. Inside the code, you can do this:

var VERSION = ###;

Where ### is the current version number. Is it possible? or do I need to check bzr information in a file and manually upgrade my version before the new code is introduced?

+3
source share
2 answers

The only thing I know is the Keyword plugin for Bazaar: http://doc.bazaar.canonical.com/plugins/en/keywords-plugin.html

( https://launchpad.net/bzr-keywords, ).

:

  • bzr branch lp:bzr-keywords

  • ( )

  • bzr help keywords

, .

+3

- "bzr version-info", .

0

All Articles