-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⭐️ support go mod version pinning in version command (#2711)
To pin a version just add a simple comment in front of the dependency in go.mod: ``` // pin v1.1.0-rc5 github.com/opencontainers/image-spec v1.1.0-rc5 ``` The `version` cmd is respecting the pinning during go mod version bumps.
- Loading branch information
1 parent
e89908a
commit a6a7b15
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters