File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"template" : " https://github.com/viseshrp/yapc" ,
3
- "commit" : " 7a6cb3723645e09a60ba2f7cec6c11ac8a530ce4 " ,
3
+ "commit" : " 10c7cc76029dfab48a5de100faefdb86fde02a90 " ,
4
4
"checkout" : null ,
5
5
"context" : {
6
6
"cookiecutter" : {
16
16
"git_init" : " n" ,
17
17
"github_actions" : " y" ,
18
18
"_template" : " https://github.com/viseshrp/yapc" ,
19
- "_commit" : " 7a6cb3723645e09a60ba2f7cec6c11ac8a530ce4 "
19
+ "_commit" : " 10c7cc76029dfab48a5de100faefdb86fde02a90 "
20
20
}
21
21
},
22
22
"directory" : null
Original file line number Diff line number Diff line change 1
1
SHELL := bash
2
+ VERSION := $(shell hatch version | sed 's/\.dev.* //')
2
3
.SHELLFLAGS := -e -x -c
3
4
4
5
.PHONY : install
@@ -53,9 +54,9 @@ version: ## Print the current project version
53
54
54
55
.PHONY : tag
55
56
tag : # # 🏷 Tag the current release version (stripping .dev) and push
56
- @echo " 🏷 Creating Git tag from release version "
57
- git tag v$(shell hatch version | sed 's/\.dev. * //')
58
- git push origin --tags
57
+ @echo " 🏷 Creating signed Git tag: v $( VERSION ) "
58
+ git tag -s v$(VERSION ) -m " Release v $( VERSION ) "
59
+ git push origin v $( VERSION )
59
60
60
61
.PHONY : check-dist
61
62
check-dist : # # Validate dist/ artifacts (long description, format)
You can’t perform that action at this time.
0 commit comments