File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,41 +12,47 @@ audit_fix:
1212
1313.PHONY : release_prepatch
1414release_prepatch :
15+ git stash
1516 $(eval NEW_TAG := $(shell npm version prepatch) )
1617 git tag -d $(TAG )
1718 cd katex && npm version prepatch
1819 git reset HEAD^ && git add . && git commit -m $(NEW_TAG ) && git tag $(NEW_TAG )
1920
2021.PHONY : release_preminor
2122release_preminor :
23+ git stash
2224 $(eval NEW_TAG := $(shell npm version preminor) )
2325 git tag -d $(TAG )
2426 cd katex && npm version preminor
2527 git reset HEAD^ && git add . && git commit -m $(NEW_TAG ) && git tag $(NEW_TAG )
2628
2729.PHONY : release_prerelease
2830release_prerelease :
31+ git stash
2932 $(eval NEW_TAG := $(shell npm version prerelease) )
3033 git tag -d $(TAG )
3134 cd katex && npm version prerelease
3235 git reset HEAD^ && git add . && git commit -m $(NEW_TAG ) && git tag $(NEW_TAG )
3336
3437.PHONY : release_patch
3538release_patch :
39+ git stash
3640 $(eval NEW_TAG := $(shell npm version patch) )
3741 git tag -d $(TAG )
3842 cd katex && npm version patch
3943 git reset HEAD^ && git add . && git commit -m $(NEW_TAG ) && git tag $(NEW_TAG )
4044
4145.PHONY : release_minor
4246release_minor :
47+ git stash
4348 $(eval NEW_TAG := $(shell npm version minor) )
4449 git tag -d $(TAG )
4550 cd katex && npm version minor
4651 git reset HEAD^ && git add . && git commit -m $(NEW_TAG ) && git tag $(NEW_TAG )
4752
4853.PHONY : release_major
4954release_major :
55+ git stash
5056 $(eval NEW_TAG := $(shell npm version major) )
5157 git tag -d $(TAG )
5258 cd katex && npm version major
You can’t perform that action at this time.
0 commit comments