greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
183 stars 73 forks source link

greenkeeper-lockfile-upload cannot push when use GK_LOCK_COMMIT_AMEND #152

Closed guillaumearm closed 6 years ago

guillaumearm commented 6 years ago

Since #126, we can set GK_LOCK_COMMIT_AMEND to a truthy value to git commit --amend --no-edit the "update lockfile" commit.

However, greenkeeper-lockfile-upload cannot push because HEAD diverged from FETCH_HEAD.

2 solutions :

finnp commented 6 years ago

Good catch. I think using --force-with-lease when GK_LOCK_COMMIT_AMEND specified would be the way to go.

greenkeeperio-bot commented 6 years ago

:tada: This issue has been resolved in version 1.15.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: