Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

What version do I put in the cbinstall tag?

  • meloman
  • meloman
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 2
  • Add-ons
13 years 6 months ago #167861 by meloman
I'm writing a CB plugin, in the PDF for the API it says this about the cbinstall tag :

Code:
<cbinstall version="1.0.3" type="plugin" group="user">
The version indicates the used installer version for compatibility check.

How do I know what version number to put in there?

And then there's the version tag :

Code:
<version>1.0 RC 2</version>
This is important: The version must strictly match the CB version.

Ok this is the CB version number, but where do I put the plugin version number? In the description tag?

Please Log in or Create an account to join the conversation.

  • meloman
  • meloman
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 2
  • Add-ons
13 years 5 months ago #168153 by meloman
Nick and Beat, I know you are very busy, but can you please answer this simple question please? Or any other developer that know how the CB API works.

The documentation needs to be reviewed. I'm a developer myself, I know how boring it is to write documentation. It's precious development time wasted... I know! ;)

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 5 months ago #168161 by nant
The <version> tag is used to check the current version of CB needed in order for the CB plugin to work.

So if you are developing a CB plugin that needs CB 1.4 to work you need to put 1.4 here.

The cbinstall part can stay as is.

Currently there is no plugin version tag (we put version # in description).
The following user(s) said Thank You: meloman

Please Log in or Create an account to join the conversation.

  • meloman
  • meloman
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 2
  • Add-ons
13 years 5 months ago #168167 by meloman
Awesome, thanks Nick!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum