Closed DEVoytas closed 6 years ago
I'm a bit disturbed by the fact that the version command still works after you run:
echo "" >> logic/subuserlib/version.py
@timthelion why so?
This is just adding empty line at the end of the file, so should not break anything ever.
Just a random change to demonstrate version string changes :)
Could well be any other change in any other tracked file.
You can verify by yourself that echo "" >> logic/subuserlib/version.py
does not prevent version command from working by checking out master, running above echo command and then issuing subuser version
command.
Aha, I made a reading comprehension error and read that as being echo "" > logic/subuserlib/version.py
. My bad.
This is inspired by Linux kernel: https://github.com/torvalds/linux/blob/b244131/scripts/setlocalversion#L76
It may be useful for multiple reasons, for example:
-dirty
postfix, then the person should be asked to reproduce it on unmodified version, in order to make sure the bug is not due to local changes.This is how it works: