Hi,
I am integrating with Octopus Deploy to push packages after build using octo.exe. I also want to create a release from the build with the release number being the same as the package version. How can i use variables in the create_release_advanced section?
Example from yml
''' create_release: true
project: "Project Name" create_release_advanced: --packageversion $version
''' But i receive an error on build when creating th release stating '$version' is not a valid version string.
Can someone help please?
Thanks

#1 Posted by Feodor Fitsner Support staff on 19 Oct, 2020 07:46 PM
Try using
$(appveyor_build_version)instead of$version.#2 Posted by martinkerr on 20 Oct, 2020 02:52 PM
perfect, thanks Feodor