What's the right way to have Drush make automatically add version numbers to my info files? Everything I read says Drush should be able to automatically rewrite my info files to add version numbers (and the only switch I see is the switch to disable this, --no-gitinfofile), yet nothing I am doing seems to make this work.

The Drush make command being run is:

drush make --working-copy --no-core -y --contrib-destination=. profile.make


A sample project in the make file would look like this:

; Sample Project
projects[sample_project][type] = "module"
projects[sample_project][download][type] = "git"
projects[sample_project][download][url] = "gitlab@git.example.com:cms/sample_project.git"
projects[sample_project][download][tag] = "7.x-1.5"
projects[sample_project][subdir] = "custom"


Googling around, I found the following options to maybe try, none of which worked:

projects[sample_project][download][version] = "7.x-1.5"
projects[sample_project][download][full_version] = "7.x-1.5"
projects[sample_project][version] = "7.x-1.5"
projects[sample_project][full_version] = "7.x-1.5"


The Drush version is 6.2.0.
I have this in my makefile:

api = 2
core = 7.x

projects[drupal][version] = "7.26"

;===============================================================================
; Ctools
;===============================================================================

projects[ctools][type] = module
projects[ctools][subdir] = "contrib"
projects[ctools][download][type] = git
projects[ctools][download][revision] = e720f61
projects[ctools][download][branch] = 7.x-1.x
projects[ctools][download][full_version] = 7.x-1.x-dev


I run it like so:
drush make --working-copy --no-cache --no-core my_make_file.make

For a good overview of the drush make flags: 
http://www.drushcommands.com/drush-6x/make/make

In my case version info wasn't written because I had --no-gitinfofile in my script for some reason. I hope this helps!