Skip to content

Commit

Permalink
fix: fix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 27, 2018
1 parent 1b1bfc0 commit 435a96d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/release_example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

const sh = require('shelljs')
const fs = require('fs-extra')
const path = require('path')

sh.set('-ev')

Expand All @@ -22,7 +23,7 @@ examples.forEach(example => {
'--options=typescript,mocha,semantic-release' :
'--options=mocha,semantic-release'

sh.cd(`examples/${example}`)
sh.cd(path.join(__dirname, '../examples', example))
sh.exec('git fetch')
sh.exec('git checkout master')
sh.exec('git pull --rebase origin master')
Expand Down

0 comments on commit 435a96d

Please sign in to comment.