File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ dotenv: ['.env']
4
4
5
5
tasks :
6
6
build:image :
7
+ prompt : " Before we build, is the version number up to date?"
7
8
desc : builds a publishable docker image
8
9
cmds :
9
10
- |
@@ -16,6 +17,18 @@ tasks:
16
17
vars :
17
18
PROJ_VER :
18
19
sh : " task version"
20
+ release:tag :
21
+ prompt : " Before we push, is the version number up to date?"
22
+ desc : tag a release and push to origin
23
+ summary : |
24
+ This will tag a release and push it to origin, it will also push
25
+ the tag to the remote origin.
26
+ cmds :
27
+ - git tag -a v{{.PROJ_VER}} -m "chore release v{{.PROJ_VER}}"
28
+ - git push origin v{{.PROJ_VER}}
29
+ vars :
30
+ PROJ_VER :
31
+ sh : " task version"
19
32
dev:test :
20
33
desc : runs tests inside the server container
21
34
summary : |
@@ -106,6 +119,7 @@ tasks:
106
119
# sed 's/ /./g' | \
107
120
# tee .version
108
121
eject :
122
+ prompt : " Are you sure you want to eject the template?"
109
123
desc : eject the project from a template
110
124
summary : |
111
125
This process will remove any references to the Anomaly labs template,
You can’t perform that action at this time.
0 commit comments