File re-created in postUpgradeTasks is detected as deleted #33899
Unanswered
dominikholler
asked this question in
Request Help
Replies: 1 comment 1 reply
-
You need to git add vendor/golang.org/x/net/modifiedfile vendor/golang.org/x/net/unmodifiedfile |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub
Please tell us more about your question or problem
go mod vendor
, might delete files. These files are detected as deleted as expected.Example scenario in https://github.com/dominikholler/renovatemissingfile
Initial state:
vendor/golang.org/x/net/modifiedfile
containsa
vendor/golang.org/x/net/unmodifiedfile
containsa
Renovate go update:
go mod vendor
removes both files as expectedpostUpgradeTasks:
cp b.txt vendor/golang.org/x/net/modifiedfile
cp a.txt vendor/golang.org/x/net/unmodifiedfile
Logs (if relevant)
Full log in https://gist.github.com/dominikholler/cd57ff8b3ad3e18e67b1537568854be4
Logs
Beta Was this translation helpful? Give feedback.
All reactions