Skip to content

Commit 2de2d60

Browse files
author
Chris
committed
build before publish
1 parent 72e6a43 commit 2de2d60

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: .travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ script:
1616
after_success:
1717
- npm run semantic-release
1818
branches:
19-
only:
20-
- master
19+
except:
20+
- /^v\d+\.\d+\.\d+$/

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"dev": "tsc --watch",
1515
"build": "tsc",
1616
"test": "echo 'Error: no test specified' && exit 0",
17-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
17+
"semantic-release":
18+
"semantic-release pre && npm run build && npm publish && semantic-release post"
1819
},
1920
"devDependencies": {
2021
"@types/node": "^7.0.21",

0 commit comments

Comments
 (0)