-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spec: Substitute git revision when generating
When doing a build from the spec file, 'git rev-parse HEAD' is unlikely to correspond to a hash from github.com/code-ready/crc. It will most likely be a hash from dist-git, or from a git repository created at build time by `%autosetup -S git` This commit allows to use 'make COMMIT_SHA=xxxx' to override the one used at build time, to ensure the sha we use in release-info.json or in "crc version" is something useful.
- Loading branch information
1 parent
352872e
commit f9ae5eb
Showing
2 changed files
with
3 additions
and
2 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