Modules
Labels & commits
Commits
Every push that changes a module makes a commit, with an id stubs push prints. Look one up:
stubs registry module commit info stubs.dev/acme/payments:<commit>Labels
A label names a commit, like a branch. main is the default. Add labels as you push:
stubs push --label v1 --label stableList a module's labels, and find the commit a label points at:
stubs registry module label list stubs.dev/acme/payments
stubs registry module commit resolve stubs.dev/acme/payments:v1Build or depend on a module at a label or a commit by adding it after a colon:
stubs build stubs.dev/acme/payments:v1 -o payments-v1.binpb