Skip to content

Commit 31d9f4c

Browse files
committed
chore: automate publish of webpack tag
1 parent f67e079 commit 31d9f4c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ branches:
33
- master
44
- release
55
- release-patch
6+
- feature/webpack-only
67
env:
78
global:
89
- DATE=$(date +%Y-%m-%d)

.travis/add-publishConfig.js

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ switch (branch) {
2626
case "master":
2727
packageDef.publishConfig.tag = "next";
2828
break;
29+
case "feature/webpack-only":
30+
packageDef.publishConfig.tag = "webpack";
31+
break;
2932
default:
3033
throw new Error(`Unable to publish as the branch ${branch} does not have corresponding tag. Supported branches are master (next tag), release (rc tag) and release-patch (patch tag)`);
3134
}

0 commit comments

Comments
 (0)