vercel/release

Can't release if there's only 1 commit since last tag

Open

#93 aperta il 30 giu 2017

Vedi su GitHub
 (3 commenti) (2 reazioni) (0 assegnatari)JavaScript (145 fork)batch import
bughelp wanted

Metriche repository

Star
 (3534 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I end up with the error Error! No changes happened since the last release. if I have only 1 commit since the last tag.

Seems like the following code might be the issue https://github.com/zeit/release/blob/master/lib/commits.js#L22

  if (commit.hash === release.hash) {
    return
  }

Guida contributor