Open
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.2.1-stable Commit SHA: 42341d5 Build Timestamp: 2025-05-26T05:24:48.799227114Z (1748237088) Build Profile: maxperf
What version of Foundryup are you on?
foundryup: 1.0.0
What command(s) is the bug in?
forge install
Operating System
Linux
Describe the bug
Using forge install
will sometimes point to the latest commit on the repository, and sometimes use the latest tag. After some minimal testing, it seems like:
- a tag of
v1.0.0
will be used instead of the latest commit; - a tag of
v0.0.1
will not be used, the latest commit will be used instead.
Ideally the behavior of forge install
would be documented to specify what branch / tag / commit it will target (depending on the setup of the repository), when no ref is given. Personally, I would find that using the same behavior as git submodule add
would make it easier to use.
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog