File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ build-docs:
68
68
@$(JQ ) ' .version' package.json | cut -d\" -f2 > .version
69
69
70
70
.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` "
72
74
73
75
release-commit :
74
76
git commit --allow-empty -m " Release v` cat .version` ."
@@ -83,10 +85,12 @@ publish-version: release-commit release-tag
83
85
git push $(REMOTE ) " ` cat .branch` " " v` cat .version` "
84
86
npm publish
85
87
86
- publish-finished :
88
+ publish-finished : clean
89
+
90
+ clean :
87
91
@rm -rf .version .branch
88
92
89
- pre-publish : .branch .version deps-project tests-ci build
93
+ pre-publish : clean .branch .version deps-project tests-ci build
90
94
91
95
publish : pre-publish publish-version publish-finished
92
96
You can’t perform that action at this time.
0 commit comments