Creating release to Octopus Deploy with packageversion using variables
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
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner 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