Hey,
I have a publishing plugin working fine, the only thing that I am missing is the versioning, I have tried to set item.properties["version_number"]
or item.properties["version"]
, but the version_number
field in Shotgun is always set to 1. Do you have any idea why ?
Thanks a lot !
Cheers 
Lucas
3 Likes
Hey Lucas
If your hook is inherited from the app’s publish plugin, then it should take the version from "publish_version"
:
Hopefully applying the value against that key on your item properties should give you what you’re after.
Cheers
Phil
5 Likes
Hey,
Thanks a lot, that’s exactly what I needed 
Cheers !
4 Likes