Closed abitrolly closed 3 years ago
There is a problem with this approach. If the previous build fails, or has been skipped, the won't be any releases on subsequent commits. For example:
.travis.yml
and snap/snapcraft.yaml
.travis.yml
.travis.yml
, but rebuild of snap is not triggered, because snap/snapcraft.yaml
was not touchedAnother solution to the problem of unnecessary flow of updates is to build snaps always, in reproducible way, and upload only if the built snap changes.
See #39.
Right now every commit releases new snap at https://snapcraft.io/yakshaveinc That creates unnecessary flow of update downloads. The solution is to build and deploy only when modifications touch files related to specific snap.
The should help
https://stackoverflow.com/questions/38549616/travis-determine-which-files-changed