-
Notifications
You must be signed in to change notification settings - Fork 547
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
Makefile: date format of log should not show signatures #2835
Conversation
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.
CC @cpanato
Codecov Report
@@ Coverage Diff @@
## main #2835 +/- ##
==========================================
- Coverage 29.51% 29.47% -0.04%
==========================================
Files 151 151
Lines 9666 9678 +12
==========================================
Hits 2853 2853
- Misses 6374 6386 +12
Partials 439 439 see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
if user's have git configurations like `git config --global log.showSignature=true` it will cause an issue in the Makefile variable output, like: ```shell vbatts@possibly:~/src/github.com/sigstore/cosign$ make [288/1916] /bin/sh: 1: Syntax error: "(" unexpected CGO_ENABLED=0 go build -trimpath -ldflags "-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=v2.0.0-63-ge71faa1a -X sigs.k8s.io/release-utils/version.gitCommit=e71faa1af0383d860481f569ef2c01694d37b00b -X sigs.k8s.io/release-utils/version.gitTreeState="clean" -X sigs.k8s.io/release-utils/version.buildDate=" -o cosign ./cmd/cosign ``` Signed-off-by: Vincent Batts <[email protected]>
Signed-off-by: Vincent Batts <[email protected]>
03b2c61
to
2ed0492
Compare
updated PTAL |
* Makefile: date format of log should not show signatures Signed-off-by: Vincent Batts <[email protected]> * Makefile: add the ability to DEBUG the `make` build Signed-off-by: Vincent Batts <[email protected]> --------- Signed-off-by: Vincent Batts <[email protected]>
* Makefile: date format of log should not show signatures Signed-off-by: Vincent Batts <[email protected]> * Makefile: add the ability to DEBUG the `make` build Signed-off-by: Vincent Batts <[email protected]> --------- Signed-off-by: Vincent Batts <[email protected]>
* Makefile: date format of log should not show signatures Signed-off-by: Vincent Batts <[email protected]> * Makefile: add the ability to DEBUG the `make` build Signed-off-by: Vincent Batts <[email protected]> --------- Signed-off-by: Vincent Batts <[email protected]>
Summary
if user's have git configurations like
git config --global log.showSignature=true
it will cause an issue in the Makefile variable output, like:Fixes #2834
Now it runs clean if this corner case happens:
Release Note
Documentation