Np: Pushing Tags not working

Created on 14 Jul 2017  Â·  10Comments  Â·  Source: sindresorhus/np

? Select semver increment or specify new version patch  1.0.35
? Will bump from 1.0.34 to 1.0.35. Continue? Yes
 ✔ Prerequisite check
 ✔ Git
 ✔ Bumping version using Yarn
 ✔ Publishing package
 â ¹ Pushing tags

current situation. On my other mac there is no problem. Any Ideas?

Most helpful comment

How about adding an git authentification test in the prerequisites check, like it's done for npm?

All 10 comments

What happens when you manually push to git? git push --follow-tags

I use tower and don't create manually tags. But Pushing via Tower works. But I must cancel the terminal task after this.

The thing is that git push --follow-tags might be hanging because it asks for credentials, which are stored in Tower. We currently don't have a way to detect if the command executed asks for input. So the next time when you try to create a release with np and it hangs at pushing tags, try to run the command git push --follow-tags which is what is being executed in that step. Then we might have a better overview of what's going on.

Ah ok. The Strange thing is on two other Macs it works. OK, I'll check my tower :)

And git push try it too. Later today at home. Thanks @SamVerschueren

Just to add my two cents here, I did: ssh-add -K and it worked.

hm also not working :(

When I git push --follow-tags he asks me for my password. hm

Use SSH keys, which is the preferred way of authenticating, instead of credentials.

How about adding an git authentification test in the prerequisites check, like it's done for npm?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jescalan picture jescalan  Â·  3Comments

xxczaki picture xxczaki  Â·  6Comments

gillesdemey picture gillesdemey  Â·  3Comments

inker picture inker  Â·  4Comments

natesilva picture natesilva  Â·  5Comments