Skip to content

Commit 4d884c2

Browse files
committed
enable automatic snap publish
1 parent 2685c69 commit 4d884c2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

snapcraft.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: onefetch
2+
base: core18 # the base snap is the execution environment for this snap
3+
adopt-info: onefetch
4+
summary: Git repository summary on your terminal
5+
description: |
6+
Onefetch is a command-line system information tool that displays information
7+
about your Git repository directly on your terminal.
8+
9+
grade: stable
10+
confinement: strict
11+
12+
parts:
13+
onefetch:
14+
plugin: rust
15+
source: .
16+
stage-packages:
17+
- git
18+
override-build: |
19+
snapcraftctl build
20+
snapcraftctl set-version $(git describe --abbrev=0 --tags)
21+
22+
apps:
23+
onefetch:
24+
command: bin/onefetch
25+
plugs:
26+
- home
27+
- removable-media

0 commit comments

Comments
 (0)