Skip to content
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

fix build date format for version command #1644

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

cpanato
Copy link
Member

@cpanato cpanato commented Mar 22, 2022

Summary

  • fix build date format for version command

Ticket Link

n/a

Release Note

NONE

@cpanato cpanato requested a review from dlorenc March 22, 2022 13:48
@codecov-commenter
Copy link

codecov-commenter commented Mar 22, 2022

Codecov Report

Merging #1644 (a283738) into main (45dbd39) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1644      +/-   ##
==========================================
- Coverage   28.28%   27.89%   -0.39%     
==========================================
  Files         137      139       +2     
  Lines        7864     7972     +108     
==========================================
  Hits         2224     2224              
- Misses       5404     5512     +108     
  Partials      236      236              
Impacted Files Coverage Δ
pkg/cosign/fetch.go 0.00% <0.00%> (ø)
cmd/cosign/cli/commands.go 0.00% <0.00%> (ø)
cmd/cosign/cli/tree.go 0.00% <0.00%> (ø)
cmd/cosign/cli/options/tree.go 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45dbd39...a283738. Read the comment docs.

@@ -28,7 +28,7 @@ RUNTIME_IMAGE ?= gcr.io/distroless/static
GIT_TAG ?= dirty-tag
GIT_VERSION ?= $(shell git describe --tags --always --dirty)
GIT_HASH ?= $(shell git rev-parse HEAD)
DATE_FMT = +'%Y-%m-%dT%H:%M:%SZ'
DATE_FMT = +%Y-%m-%dT%H:%M:%SZ
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we have that format on rekor too https://github.com/sigstore/rekor/blob/main/Makefile#L33

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it sounds like it needs to be changed there too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, was doing that :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@dlorenc dlorenc merged commit dcfd568 into sigstore:main Mar 22, 2022
@github-actions github-actions bot added this to the v1.7.0 milestone Mar 22, 2022
@cpanato cpanato deleted the version-date-quote branch March 22, 2022 14:15
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants