Octopus CLI Push - Issues with versioning

Hello! I’m trying to push a new package to Octopus Deploy from TeamCity using the Octopus CLI. Specifically:

I’m running into issues with Octopus Deploy picking up the correct package version. Here are some versions I’ve tried to push, and the resulting package created by Octopus Deploy:

myapp.company.com.2018.04.09.212.zip
- Becomes: v2018.4.9

myapp.company.com.2018.4.9.300.zip
- Becomes: v2018.4.9

My revision is consistently dropped, and leading zeros are stripped/removed. This does not seem to be in line with what Octopus Deploy says it supports:

I don’t see a CLI option to explicitly provide a version. I’m at a bit of a loss on how to proceed. I have also had issues with -tags and +buildInformation not coming over as intended.

Any/all help would be appreciated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.