part build-snaps
channel change doesn't work without a clean
#496
Labels
Bug
Something isn't working
build-snaps
channel change doesn't work without a clean
#496
Bug Description
In my
charmcraft.yaml
file I updated the charm version via thebuild-snaps
directive, and then acharmcraft pack
but the changes were not reflected, ie no new charm version was installed.Only when I ran
charmcraft clean
and anothercharmcraft pack
it worked as intended and used the new charm version from thecharmcraft.yaml
configuration.To Reproduce
charmcraft.yaml
with e.g.build-snaps: [charm/2.x/stable]
charmcraft pack
(which creates a container)charmcraft.yaml
tobuild-snaps: [charm]
charmcraft pack
(I noticed that as I added an option which is only available with the new charm version).
Environment
charmcraft.yaml
Relevant log output
The text was updated successfully, but these errors were encountered: