So far, in the project I'm working on I've been using the internal compiler _ProjectVersionStr as a version number for my software.
I've recently started tracking code changes and sharing updates with a colleague using Mercurial / TortoiseHg.
Where does Swordfish store the version number? Is it in the .bas file or elsewhere? I know it can't be accessed via MPLab so I would suspect it is stored internally somewhere - and I would guess also that this wouldn't work well with a source control system?
While I am the only person implementing changes, my colleague will need to recompile my source on his machine and we also need to keep a record of the version number for all copies of the source pushed to the repository.
Is there any way, other than using the built-in version number or remembering to update the number manually on each compile that we can do this with Swordfish?
Version tracking
Moderators: David Barker, Jerry Messina
-
- Posts: 219
- Joined: Wed Sep 11, 2013 1:27 pm
- Location: Chesterfield
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
Re: Version tracking
It's contained in the swordfish *.sfp file, alongside your bas file.