Skip to content

Commit 3d6b5ce

Browse files
ci: enable snapcraft
1 parent c693eb5 commit 3d6b5ce

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

.goreleaser.yml

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -157,27 +157,30 @@ nfpms:
157157
formats:
158158
- deb
159159
- rpm
160-
# snapcrafts:
161-
# -
162-
# id: ticker
163-
# name_template: >-
164-
# {{- .ProjectName }}-
165-
# {{- .Version }}-
166-
# {{- if eq .Os "darwin" }}mac
167-
# {{- else}}{{ .Os }}{{ end }}-
168-
# {{- .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
169-
# {{- if .Mips }}-{{ .Mips }}{{ end }}
170-
# publish: true
171-
# summary: Terminal stock watcher and stock position tracker
172-
# description: |
173-
# Features:
174-
# Live stock price quotes
175-
# Track value of your stock positions
176-
# Support for multiple cost basis lots
177-
# Support for pre and post market price quotes
178-
179-
# grade: stable
180-
# confinement: strict
181-
# apps:
182-
# ticker:
183-
# plugs: ["network", "home"]
160+
snapcrafts:
161+
-
162+
id: ticker
163+
name: ticker
164+
builds:
165+
- build-linux-64
166+
publish: true
167+
summary: Terminal stock watcher and stock position tracker
168+
description: |
169+
Features:
170+
Live stock price quotes
171+
Track value of your stock positions
172+
Support for multiple cost basis lots
173+
Support for pre and post market price quotes
174+
grade: stable
175+
confinement: strict
176+
channel_templates:
177+
- edge
178+
- beta
179+
- candidate
180+
- stable
181+
apps:
182+
ticker:
183+
command: bin/ticker
184+
plugs: ["network", "home"]
185+
environment:
186+
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH

0 commit comments

Comments
 (0)