snap: use refresh hook to self-test on upgrade
Bug #1757007 reported by
Nish Aravamudan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Triaged
|
Medium
|
Unassigned |
Bug Description
There are now refresh hooks in snaps, and since we have a well-defined self-test (git-ubuntu.
tags: | added: snap |
Changed in usd-importer: | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
Specifically, what you probably want is the `post-refresh` hook (as of 2.29). Basic informational docs are here:
https:/ /forum. snapcraft. io/t/supported- snap-hooks/ 3795
A few tutorials for how to use hooks with Snapcraft can be found here (it links to a second one on the `configure` hook): https:/ /kyrofa. com/posts/ snap-install- time-setup- the-install- hook .