balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
452 stars 138 forks source link

Successful balena deploy reports release commit rather than release id #1356

Open nazrhom opened 5 years ago

nazrhom commented 5 years ago

A successful balena deploy should report the release id alongside the commit used by the release. Release ID is usually needed to interact with a release that was just created by a deploy (e.g. tag it)

thgreasi commented 5 years ago

If it's just for tags, then we have two other issues that predate this one. See: https://github.com/balena-io/balena-cli/issues/1060 See: https://github.com/balena-io/balena-cli/issues/1064

Also WRT managing tags using release commit hashes, this was recently added in the latest balena-sdk. See: https://github.com/balena-io/balena-sdk/blob/master/CHANGELOG.md#1270---2019-07-15

pdcastro commented 3 years ago

Note: the balena push --detached command appears to have the opposite problem (prints only the release ID, not commit), that could be improved at the same time:

$ ./bin/balena push test-nuc -s ~/simple_container --detached
Build successfully started
  Release ID: 1619809
myarmolinsky commented 6 months ago

Update: semver is what we should report now