File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ build-docs:
6868 @$(JQ ) ' .version' package.json | cut -d\" -f2 > .version
6969
7070.branch :
71- git branch | grep ' ^*' | awk ' { print $$2 }' > .branch
71+ @echo " [Release from branch]"
72+ @git branch | grep ' ^*' | awk ' { print $$2 }' > .branch
73+ @echo " Current branch: ` cat .branch` "
7274
7375release-commit :
7476 git commit --allow-empty -m " Release v` cat .version` ."
@@ -83,10 +85,12 @@ publish-version: release-commit release-tag
8385 git push $(REMOTE ) " ` cat .branch` " " v` cat .version` "
8486 npm publish
8587
86- publish-finished :
88+ publish-finished : clean
89+
90+ clean :
8791 @rm -rf .version .branch
8892
89- pre-publish : .branch .version deps-project tests-ci build
93+ pre-publish : clean .branch .version deps-project tests-ci build
9094
9195publish : pre-publish publish-version publish-finished
9296
You can’t perform that action at this time.
0 commit comments