build.js
function cloneRepo() {
  return new Promise((resolve, reject) => {
    git.clone(`https://${GH_TOKEN}@github.com/dbtek/bootswatch-dist.git`, '.tmp/repo', (err, result) => {
      if (err) {
        return reject(err)
      }
      resolve(result)
    })
  })
}
function cloneRepo() {
  return new Promise((resolve, reject) => {
    git.clone(`https://${GH_TOKEN}@github.com/dbtek/bootswatch-dist.git`, '.tmp/repo', (err, result) => {
      if (err) {
        return reject(err)
      }
      resolve(result)
    })
  })
}
function cloneRepo ( ) { return new Promise ( ( resolve , reject ) => { git . clone ( ` ${ GH_TOKEN } ` , '.tmp/repo' , ( err , result ) => { if ( err ) { return reject ( err ) } resolve ( result ) } ) } ) }
Clones release repository
@return {Promise}
Clones release repository