Template Function to Check If Release has been Deployed

Hello!

I was wondering, is there a template function that would tell me whether or not the application has been deployed?

I’m wanting to turn on/off a preflight check dependent on whether or not the user has actually deployed a release. Sequence was my original idea (i.e. if Sequence is greater than 0), but the problem is that the user could start on sequence 0, make config changes multiple times, and be at a higher sequence but still have not truly deployed a release.

Thanks!

Hello :wave:

I believe you’ve stumbled upon the best way we have currently to check if the application has been deployed. A more robust way to handle this I think would be a great feature request if you don’t mind submitting one at Replicated describing your use case and need.