vercel/release

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

Ouverte

#93 ouverte le 30 juin 2017

 (3 commentaires) (2 réactions) (0 personne assignée)JavaScript (145 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (3 534 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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
  }

Guide contributeur