async function setCurrentRevision() {
      shipit.log('Setting current revision and creating revision file.')

      const response = await shipit.local(
        `git rev-parse ${shipit.config.branch}`,
        {
          cwd: shipit.workspace,
        },
      )

      /* eslint-disable no-param-reassign */
      shipit.currentRevision = response.stdout.trim()
      /* eslint-enable no-param-reassign */

      await shipit.remote(
        `echo "${shipit.currentRevision}" > ${path.join(
          shipit.releasePath,
          'REVISION',
        )}`,
      )
      shipit.log(chalk.green('Revision file created.'))
    }
Set shipit.currentRevision and write it to REVISION file.