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

xtask: Add timestamp to version #430

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Conversation

cgwalters
Copy link
Member

This is a copy of
containers/bootc@0c8c683

I was hitting an issue with our COPR builds where we were getting earlier builds because the git hash was the first component of the version, and the leading numbers there don't increment, and RPM wants higher versions.

Force newer-is-better by injecting the date (up to the minute, not second because we're not going to build more than one a second).

This is a copy of
containers/bootc@0c8c683

I was hitting an issue with our COPR builds where we were getting
*earlier* builds because the git hash was the first component
of the version, and the leading numbers there don't increment,
and RPM wants higher versions.

Force newer-is-better by injecting the date (up to the minute, not
second because we're not going to build more than one a second).
@cgwalters cgwalters merged commit 762984c into coreos:main Feb 8, 2023
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.

None yet

2 participants