vercel/release

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

Open

#93 aberto em 30 de jun. de 2017

Ver no GitHub
 (3 comments) (2 reactions) (0 assignees)JavaScript (145 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (3.534 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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
  }

Guia do colaborador