We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a6a3fb commit 4ae2c5dCopy full SHA for 4ae2c5d
1 file changed
Taskfile.yml
@@ -0,0 +1,31 @@
1
+version: "3"
2
+
3
+tasks:
4
+ fmt:
5
+ desc: gofumpt all code
6
+ cmds:
7
+ - gofumpt -w -l .
8
+ - gci -w .
9
10
+ lint:
11
+ desc: Lint the code with golangci-lint
12
13
+ - golangci-lint run ./...
14
+ - helm lint helm/pv-migrate
15
16
+ update-chart:
17
+ desc: Update the Helm chart
18
19
+ - helm-docs -c helm/pv-migrate/
20
+ - helm package helm/pv-migrate/
21
+ - mv pv-migrate-*.tgz internal/migrator/helm-chart.tgz
22
23
+ release:
24
+ desc: Create a new tag
25
+ vars:
26
+ NEXT:
27
+ sh: svu n
28
29
+ - git tag {{.NEXT}}
30
+ - echo {{.NEXT}}
31
+ - git push origin {{.NEXT}}
0 commit comments