From 692051945e1397d29cb8ecb728ab7404bf972fad Mon Sep 17 00:00:00 2001 From: svoboda-rabstvo Date: Fri, 30 Nov 2018 16:53:04 +0300 Subject: [PATCH] fix: release process --- .travis.yml | 4 +++- bin.ts | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4934414..3723e89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,6 @@ jobs: - stage: semantic release if: branch = master AND type = push node_js: stable - script: npm run semantic-release + script: + - npm run build + - npm run semantic-release diff --git a/bin.ts b/bin.ts index 44aecb2..1308643 100644 --- a/bin.ts +++ b/bin.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import fs from 'fs'; import commander from 'commander'; import UsageParser from './index';