mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
try hook
This commit is contained in:
@ -2,6 +2,20 @@
|
|||||||
version: 2
|
version: 2
|
||||||
pro: true
|
pro: true
|
||||||
|
|
||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
- cmd: 'pwd'
|
||||||
|
output: true
|
||||||
|
- cmd: 'ls'
|
||||||
|
output: true
|
||||||
|
- cmd: 'ls internal/version'
|
||||||
|
output: true
|
||||||
|
- cmd: 'cat internal/version/version.txt'
|
||||||
|
output: true
|
||||||
|
- cmd: 'echo "v{{.Version}}" > internal/version/version.txt'
|
||||||
|
- cmd: 'cat internal/version/version.txt'
|
||||||
|
output: true
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name_template: 'v{{.Version}}'
|
name_template: 'v{{.Version}}'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user