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

[1.1] Revert "allow overriding VERSION value in Makefile" and add EXTRA_VERSION #4382

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

rata
Copy link
Member

@rata rata commented Aug 19, 2024

As discussed, backport of #4370 for 1.1.

@cpuguy83 it would be great if you can test this in your setup when you are back.

This reverts commit 9d9273c.

This commit broke the build for several other projects (see comments
here: opencontainers#4270, after the merge)
and we don't really need this to be able to set the version without
changing the file.

With this commit reverted, we can still run:

	make VERSION="1.2.3"

and it just works. It doesn't take it from an env variable, but that is
what broke all the other projects (VERSION is just too generic as an env
var, especially for a project like runc that is embedded in many
others).

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
(cherry picked from commit f4cc3d8)
Add this new make variable so users can specify build information
without modifying the runc version nor the source code.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
(cherry picked from commit cc2078c)
@rata rata added impact/changelog backport/1.1-pr A backport to 1.1.x release. labels Aug 19, 2024
@rata rata changed the title Makefile override fixes [1.1] Revert "allow overriding VERSION value in Makefile" and add EXTRA_VERSION Aug 19, 2024
@kolyshkin kolyshkin added this to the 1.1.14 milestone Aug 19, 2024
Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@thaJeztah thaJeztah merged commit 6419fba into opencontainers:release-1.1 Aug 23, 2024
28 checks passed
@rata rata deleted the Makefile-override-fixes branch August 26, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.1-pr A backport to 1.1.x release. impact/changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants