I need some help, for one reason, this project, when octopus deploy by TeamCity, it’s getting the package with the version one before of the last one.
I’ve been found something similar, but do not resolve my problem.
Can someone help me?
Thanks for reaching out. TeamCity makes the Artifact available only after the build has finished. So when the “Create Release” step runs, the .91 artifact is still not available so Octopus finds .90 as the latest one.
To solve this, separate your process into 2 build configurations:
- Compile the solution and upload the artifact.
- Run the “Create Release” step.
Let me know how it goes
Thanks for reply, I’ve just change the parameter ‘Execute’ of the Release step from ‘If all previous steps finished successfully’ to ‘Only if build status is successful’ and it’s work.
I’ve try to look at yours recommendations, but I really do not know how do with artifact.
The problem was sorted, so, thanks for the help.