Skip to content

Commit e04510f

Browse files
committed
Taskfile updates
Signed-off-by: Michael Ethridge <[email protected]>
1 parent 5246b18 commit e04510f

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

Taskfile.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,34 @@ version: "3"
44

55
dotenv: [".envrc"]
66

7+
vars:
8+
CURRENT_DATE:
9+
sh: date +"%Y-%m-%dT%H:%M:%S%Z"
10+
711
tasks:
12+
default:
13+
cmds:
14+
- git add .
15+
- git commit -m "{{.CURRENT_DATE}}"
16+
- git push
17+
silent: true
18+
19+
hog:
20+
cmds:
21+
- trufflehog git file://. --since-commit HEAD --only-verified --fail
22+
823
pre:
924
cmds:
1025
- pre-commit run -a
26+
1127
push:
1228
cmds:
1329
- git push
1430
- git tag -s {{.CLI_ARGS}} -m "{{.CLI_ARGS}}"
1531
- git push --tags
16-
hog:
32+
33+
tag:
1734
cmds:
18-
- trufflehog git file://. --since-commit HEAD --only-verified --fail
35+
- git push
36+
- git tag -s {{.CLI_ARGS}} -m "{{.CLI_ARGS}}"
37+
- git push --tags

0 commit comments

Comments
 (0)