Closed Phyks closed 6 years ago
Hi @Phyks, sorry for the inconvenience. Actually, master
branch is not currently the stable 'latest' release on npm, so you probably want to use the 9.x release stream instead of master. Can you change your Heroku setup so that you push branch 9x
to Heroku instead of master
?
In v10 we have deprecated Node 6 support, which is why things are now "start" and not "start-raw". I've applied a fix to master
immediately here: https://github.com/singapore/renovate/commit/f18679e7bfbb8616f039516763b4a3ed3bfea845
In v10 we have also deprecated GitLab APIv3 support, but I see you have a custom v4 endpoint anyway.
renovate
is not a bash command when installed for Heroku's git interface. I don't think that's easy to change So in short, please try something like git pull; git checkout 9x; git push heroku 9x:master
to get back to the stable release track.
Thanks so much!!! Ok, I got it about the releases and I tracked tag v9.99.0 which should be the latest one from npm and everything works great again.
The issue with package.json
only appears on master
branch with the specified command, it does not appear on other forks I tested it with. I sent you a debug log by email.
By the way, not sure what is the best way for doing it, but I think https://github.com/singapore/renovate/blob/master/docs/deployment.md#installation-1 should have some hints about git tag
and the correct way to push an up to date release version rather than master
:)
Yeah, I'm actually thinking of publishing a separate renovate-heroku
repository for people like yourself to clone. That way you can be in more control of which versions of renovate you're using. I will then update the docs accordingly.
Awesome, thanks so much for the quick fix!
Hi,
I've just done a
git pull origin master; git push heroku master
to upgrade my Heroku app of Renovate and ran into some issues. Not sure if they are actual issues or just me doing stupid things :/First,
renovate
is not a bash command (not sure if this is intended or not and I don't think this is something new anyways) in Heroku. So, runningheroku run renovate
works, but not runningheroku run "if [ "$(date +%u)" = 3 ]; then renovate -- …"
. Usingyarn run start
is a good workaround.Running
heroku run renovate
gives an error aboutstart-raw
not existing. I guess this is becausestart-raw
is not defined, but used inProcfile
.When running
renovate
on a repo where it used to work before my upgrade, I now get:I don't get why it does match a
package.json
but then err withCannot find package.json
. :/Thanks!