last days we tried a lot to make balena push work, but got a very cryptic error msg…, and we can’t get rid of it …
Error:: It is necessary that each release that has a release version1 and has a status that is equal to “success” and is not invalidated, belongs to an application that owns exactly one release that has a release version2 that is equal to the release version1 and has a status that is equal to “success” and is not invalidated.\n[Info] Built on arm05\n[Success] Release successfully created!
Hi there - do you have a balena.yml
file in your code repository?
The problem here is that our builders now evaluate the version
field in the balena.yml
file and fails if the version is not unique. This is to try and stop users accidentally pushing a new release of an app, with the old version number. We’re aware that the error message isn’t very helpful or easy to read, and we are discussing the best way to improve this.
In order to remove the error, you can just remove the version
field from your YAML file, or bump it up a version each time you push.
Phil
Thanks for the clarification!