Skip to content

Commit 2782cf2

Browse files
committed
try hook
1 parent 86f2d6f commit 2782cf2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.goreleaser-nightly.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
version: 2
33
pro: true
44

5+
before:
6+
hooks:
7+
- cmd: 'pwd'
8+
output: true
9+
- cmd: 'echo "v{{.Version}}" > internal/version/version.txt'
10+
511
release:
612
name_template: 'v{{.Version}}'
713

0 commit comments

Comments
 (0)