dump plugin cannot copy a single file
Bug #1638622 reported by
James Jesudason
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Low
|
Unassigned |
Bug Description
The copy plugin is being deprecated, but it was useful for copying individual files e.g.
assets:
source: git://github.
plugin: copy
files:
This does not seem to be possible with the dump plugin.
Changed in snapcraft: | |
importance: | Undecided → Low |
tags: | added: plugin |
tags: | added: snap-docs |
To post a comment you must log in.
It's possible, it's just done using the snapcraft core options `organize` and `snap` instead of options specific to the plugin (which is why copy was deprecated in favor of dump). For example:
assets: com/ubuntu- core/identity- vault
settings. yaml: data/settings.yaml
source: git://github.
plugin: dump
organize:
snap:
- data/settings.yaml