const syncDir = require('./syncDir');

function releaseLegacy(pkg, bucket, prefix, target) {
  return syncDir(
    pkg,
    bucket,
    prefix,
    'dist/' + target
  );
}

module.exports = releaseLegacy;