Skip to content

Commit 45f161b

Browse files
authored
cruft update (#145)
1 parent 9c51012 commit 45f161b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/viseshrp/yapc",
3-
"commit": "7a6cb3723645e09a60ba2f7cec6c11ac8a530ce4",
3+
"commit": "10c7cc76029dfab48a5de100faefdb86fde02a90",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -16,7 +16,7 @@
1616
"git_init": "n",
1717
"github_actions": "y",
1818
"_template": "https://github.com/viseshrp/yapc",
19-
"_commit": "7a6cb3723645e09a60ba2f7cec6c11ac8a530ce4"
19+
"_commit": "10c7cc76029dfab48a5de100faefdb86fde02a90"
2020
}
2121
},
2222
"directory": null

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
SHELL := bash
2+
VERSION := $(shell hatch version | sed 's/\.dev.*//')
23
.SHELLFLAGS := -e -x -c
34

45
.PHONY: install
@@ -53,9 +54,9 @@ version: ## Print the current project version
5354

5455
.PHONY: tag
5556
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)
5960

6061
.PHONY: check-dist
6162
check-dist: ## Validate dist/ artifacts (long description, format)

0 commit comments

Comments
 (0)