-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Automate Node Upgrade Process: Update Script #478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Heimdall Review Status
|
|
This looks good, a bunch of small things to make the tool work with out other repos. |
| dependencyPrefix, "REPO", dependencies[dependency].RepoUrl)) | ||
| } | ||
|
|
||
| file, err := os.Create(repoPath + "/versions.env") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: you can use path.join to make this support multi-platforms in the future see: https://pkg.go.dev/path#Join
|
Review Error for danyalprout @ 2025-06-17 20:07:20 UTC |
This PR adds a script to update the dependencies in the geth, reth, and nethermind Dockerfiles without having to manually make changes to the files when the time comes to update.
In order to run the updater:
cd dependency_updatergo build dependency_updater.goexport GITHUB_TOKEN=<YOUR_TOKEN>./dependency_updaterRunning these commands will create a versions.env file which contains the most up to date versions of the dependencies and populate the Dockerfiles.