Skip to content

Commit bc0a37d

Browse files
committed
prepatch
1 parent 075f0e2 commit bc0a37d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ init:
1010
audit_fix:
1111
yarn run yarn-audit-fix
1212

13+
.PHONY: release_prepatch
14+
release_prepatch:
15+
$(eval NEW_TAG := $(shell npm version prepatch))
16+
git tag -d $(TAG)
17+
cd katex && npm version prepatch
18+
git reset HEAD^ && git add . && git commit -m $(NEW_TAG) && git tag $(NEW_TAG)
19+
1320
.PHONY: release_preminor
1421
release_preminor:
1522
$(eval NEW_TAG := $(shell npm version preminor))

0 commit comments

Comments
 (0)