We've begun configuring Octopus, however, we want to leverage S3 as the storage of our artifacts. There is currently nothing native to support this, so we've had to use scripts to do the file copying. We are now at the point where we need to handle the version number we're deploying. How can we dynamically generate this version?
I'd like to be able to execute a script during the first deployment to get the version from anywhere. (ie: AssemblyInfo details, or even opening a file and reading the version from it.)
Aaron Hansen commented
I used the API to pass in a version. But I'd still like the ability to allow users to begin a deployment from the Octopus web application and have it use the same logic of choosing the version.