[Gambas-user] Problems getting version numbers of components

Brian G brian at westwoodsvcs.com
Fri Mar 31 00:33:25 CEST 2023


Bruce, 

There is an option to use a version file, 

Are you says that we need to use the version file or it will not 
return the correct version at all. 

"Failure is the key to success; 
each mistake teaches us something" .. Morihei Ueshiba 
Brian G 

----- On Mar 30, 2023, at 10:28 PM, Bruce Steers <bsteers4 at gmail.com> wrote: 

> Is it to do with Gambas?

> gambas uses the "get version from file" option to all versioning goes to
> ./VERSION file

> BruceS

> On Thu, 30 Mar 2023 at 23:26, Brian G < [ mailto:brian at westwoodsvcs.com |
> brian at westwoodsvcs.com ] > wrote:

>> I am not sure when it stopped working, but with the latest version

>> doing a :

>> print components["mycomp"].version

>> Always returns the gambas version.

>> The version is set correctly in the project information.

>> Maybe I am doing it incorrectly, I think it once worked.
>> Has anyone else seen this issue?

>> "Failure is the key to success;
>> each mistake teaches us something" .. Morihei Ueshiba
>> Brian G

>> ----[ [ http://gambaswiki.org/wiki/doc/netiquette |
>> http://gambaswiki.org/wiki/doc/netiquette ] ]----

> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230330/7013ecb1/attachment.htm>


More information about the User mailing list