Travis publish to Pursuit fails with dirty working tree
kritzcreek opened this issue · comments
Christoph Hegemann commented
$ test $TRAVIS_TAG && echo $GITHUB_TOKEN | pulp login && echo y | pulp publish --no-push
Please obtain a GitHub personal access token at:
https://github.com/settings/tokens/new
No scopes are required, so don't check any of the boxes.
After you've done that, paste it in here: Successfully authenticated as garyb.
* ERROR: Your git working tree is dirty. Please commit or stash your changes first.
Gary Burgess commented
GH token isn't missing - pulp always prints that message in pulp login
- if the login failed there'd be another error.
It seems travis is doing something weird now though, as lately I've had to push a bunch of updates manually thanks to
- ERROR: Your git working tree is dirty. Please commit or stash your changes first.
(That's the actual problem here)
Nicholas Wolverson commented
Dirty tree could be generated package-lock.json
?
Gary Burgess commented
Yeah, that's the one. I've been fixing it in all the repos I remember to do so when making new releases (by ignoring the lockfile rather than adding it - we don't need to pin down the dev dependencies that much).