Skip to content

Commit

Permalink
Generator skipped this it seems
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Jan 12, 2017
1 parent a6a510f commit d55458c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions buildCI.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash -ex

# Runs build.sh before checking should_publish

function should_publish() {
[[ $GIT_BRANCH =~ ^(origin/)?master$ ]]
}

source build.sh

if should_publish; then
npm run has-published -s || npm publish
fi

0 comments on commit d55458c

Please sign in to comment.